Solid.js feels like what I always wanted React to be
typeofnan.dev
Solid.js feels like what I always wanted React to be
1–10 of 444 posts
Re: Solid.js feels like what I always wanted React to be
#2It's a little disheartening to see that it's 3+ years old and has only had a single significant contributor though[1].
It's impossible to avoid single-contributor projects in the JS world, especially with Node, but the alternatives (React, Vue, Angular, and even Svelte) are orders of magnitude more popular, so it's one area that we can play it safe if we need to.
Re: Solid.js feels like what I always wanted React to be
#3This is interesting because it's a bit like Svelte, but it doesn't use the Svelte "language" (which looks like JS and HTML but, in some crucial ways, sometimes isn't ). It's a little disheartening to see that it's 3+ years old and has only had a single significant contributor though[1]. It's impossible to avoid single-contributor projects in the JS world, especially with Node, but the alternatives (React, Vue, Angula…
Re: Solid.js feels like what I always wanted React to be
#4This is interesting because it's a bit like Svelte, but it doesn't use the Svelte "language" (which looks like JS and HTML but, in some crucial ways, sometimes isn't ). It's a little disheartening to see that it's 3+ years old and has only had a single significant contributor though[1]. It's impossible to avoid single-contributor projects in the JS world, especially with Node, but the alternatives (React, Vue, Angula…
Re: Solid.js feels like what I always wanted React to be
#5Re: Solid.js feels like what I always wanted React to be
#6As someone who doesn’t feel so enamored with React’s hooks, I find this compelling.
Re: Solid.js feels like what I always wanted React to be
#7Re: Solid.js feels like what I always wanted React to be
#8As someone who doesn’t feel so enamored with React’s hooks, I find this compelling.
React hooks are footguns
I could see custom hooks being more dangerous and difficult, but Higher-Order Components are too.
Re: Solid.js feels like what I always wanted React to be
#9This is interesting because it's a bit like Svelte, but it doesn't use the Svelte "language" (which looks like JS and HTML but, in some crucial ways, sometimes isn't ). It's a little disheartening to see that it's 3+ years old and has only had a single significant contributor though[1]. It's impossible to avoid single-contributor projects in the JS world, especially with Node, but the alternatives (React, Vue, Angula…
I have no idea if it's in the creator's interest but I'd love to see Solid get backed by a company the way React, Angular, and Svelte are. That might make people take it more seriously as an option but, as-is, it certainly feels like a risky option to use professionally.
But from what I hear, he's still pretty responsive on Github.
Re: Solid.js feels like what I always wanted React to be
#10react isn't about 'hooks', 'jsx', 'top-down-state', or 'component-driven architecture'. All these frameworks are component-based, can have top down state only (or do bottom up in react), can use things like jsx/hooks because it's just syntactic sugar (vue has jsx support).
react is fundamentally about 'inputs changed, render this'. This got rid of a lot of issues with poor code because frameworks had crappy DX (angluar 1 scope nonsense, and overengineered DI concepts), and people were bad at tracking side effects because a lot of people just wanted a search bar with some cool features and not everyone was building sophisticated products.
That setInterval example is fundamentally against what react is, and is basically svelte/vue/(react + mobx).