Re:Solidjs: Simple and performant reactivity for building us...
by division_by_0 on Wednesday April 23, 2025 @08:58AM
(#43771623)
I think the best case for using Svelte or Solid over React is when performance is critical, e.g. in big and/or fast data contexts.
Re:Solidjs: Simple and performant reactivity for building us...
by exceptione on Wednesday April 23, 2025 @09:31AM
(#43771955)
Good point. I don't know how much of the gap remains if one can settle for Preactjs, but Reactjs is not the fastest.
Re:Solidjs: Simple and performant reactivity for building us...
by Sammi on Wednesday April 23, 2025 @02:32PM
(#43775243)
The reason you don't see Svelte versions of common libraries as much as you do for React, is that with Svelte you can just use the vanilla js/html/css version and they work great. React has a hard time using vanilla approaches because the virtual dom and hooks aren't vanilla and don't work like vanilla. React is it's own world and therefore needs to have a React version of everything.
Re:Solidjs: Simple and performant reactivity for building us...
by exceptione on Wednesday April 23, 2025 @05:12PM
(#43776668)
I think I do not completely grok that, maybe I have to experiment with Svelte a bit more. As GP mentioned, in Svelte one does not reach for third party components, so you might be on to something.
If I were to achieve a reasonable amount of flexibility, I would have to redo the work of that library: create a flexible component from scratch with a good api. That is my concern at least.
So when I see the other frameworks libraries, I get the impression that possibly the target audience differ in needs, like so:
Correct me if wrong.