Isn't this just the Vue composition API dressed up to look like React? I haven't done frontend in a minute, so apologies if this is ignorant.
Solid.js feels like what I always wanted React to be
161–170 of 444 posts
Re: Solid.js feels like what I always wanted React to be
#162Earlier quoted context omitted.
> In React, we render lists by using regular JavaScript idioms like loops, arrays, and array methods like map. However in Solid.js, much like traditional templating languages, we get a construct like that reinvents a concept that's already in the language. Once you deal with larger amounts of data and need virtualised rather than fully-materialised lists, you start using different things in React as well. The fact of…
What JS framework would you choose to work with big datasets like, e.g. a data grid with half a million rows that should have a "filter as you type" functionality?
Re: Solid.js feels like what I always wanted React to be
#163javascript ecosystem is truly a shithole. I say this independently of the article.
Re: Solid.js feels like what I always wanted React to be
#164This looks a lot like my current favorite state framework (which yes is done by Facebook people), Recoil - https://recoiljs.org/ Your naming however reminds me of the RxJS and general reactive programming paradigm I've always pined after... some combination of the two would be my UI state management holy grail.
Re: Solid.js feels like what I always wanted React to be
#165Re: Solid.js feels like what I always wanted React to be
#166Earlier quoted context omitted.
Which languages in common industry use in 2022 have language-integrated aspect-oriented programming support?
Fair point. I hinted with the idea of a new framework that you may be able to bolt something acceptable on top of JS (I'm sure it's been done already in the past with some framework) especially if you just want the before/after/around advice features of AOP without other stuff. Or perhaps go into custom syntax transpiled to JS/TS-then-JS since no one seems to mind heavy build processes these days. For the most common…
Re: Solid.js feels like what I always wanted React to be
#167Earlier quoted context omitted.
> In React, we render lists by using regular JavaScript idioms like loops, arrays, and array methods like map. However in Solid.js, much like traditional templating languages, we get a construct like that reinvents a concept that's already in the language. Once you deal with larger amounts of data and need virtualised rather than fully-materialised lists, you start using different things in React as well. The fact of…
What JS framework would you choose to work with big datasets like, e.g. a data grid with half a million rows that should have a "filter as you type" functionality?
Re: Solid.js feels like what I always wanted React to be
#168I've used React for ~3 years, primarily with function components and hooks. I think that hooks were a wonderful addition and I think the framework has made smart choices with checking object equality to decided if components re-render. That said, I think that easily the most difficult aspects of react revolve around how re-renders are triggered. Maintaining referential equality to stop unnecessary renders gets tricky…
For the other Americans, “used xyz in anger” means “used xyz in production”. https://english.stackexchange.com/questions/30939/is-used-in...
Re: Solid.js feels like what I always wanted React to be
#169This article hits on something I've felt for a long time. The idea that "hooks are superior" to me is ridiculous. If a linter is required to tell me when I'm writing a bug that is not immediately obvious, that is a failing in the framework to round those edges. Lints are not rounded edges! Solid is nice and _seems_ to fix the issues with hooks, but as another comment mentioned, the challenge is with building at scale…
I have the same complaint about hooks. Most people seem to ignore that tidbit, but to me it's really frustrating. Plus I recently hit more hook issues when putting a setInterval inside a useEffect. There's no way to do a normal didMount/willUnmount workflow without other hacks (i.e. useRef) just to set up a simple timer. Maddening! Edit: after writing this I went and read the article. Same scenario I was bitching abo…
Re: Solid.js feels like what I always wanted React to be
#170I hate the whole javascript ecosystem to the core. Hey I just finished my progressive web app with these 10 cool react components I found on NPM which fit surprisingly well into our startup’s cloud-native Vue interface. I tried to put the code up on GitHub but it wouldn’t let me upload a 10gb repository (and that was without our proprietary fork of mysql :)
Too much snark. We are running an enterprise-scale Angular 13 "SPA" that blows the prior platform out of the water. It just depends on the team and the goal.