4 ms·
SolidJS and React are on the opposite ends of the JS framework worlds. Solid doesn't use a virtual DOM like React. Solid is close to Svelte, Vue is in the midd
by impulser_ 3y ago
SolidJS and React are on the opposite ends of the JS framework worlds.
Solid doesn't use a virtual DOM like React. Solid is close to Svelte, Vue is in the middle more leaning towards Solid and Svelte today and eventually will be with Svelte and Solid when Vapor comes out and then React is on the other end.
Solid and React do feels similar to the developer because they both use JSX and similar APIs but they aren't compatible.
- frfl 3y agoYeah, I meant "optimizing compiler" in the sense it takes in JSX and outputs optimized code
- Aeolun 3y agoSolid doesn’t have a compiler as I recall? (Other than JSX)
- frfl 3y agoSorry my mistake. I misunderstood Solid as working same as Svelte with a compiler.
- worble 3y agoI also understood it like that, and the FAQ seems to imply that it is. https://www.solidjs.com/guides/faq https://www.solidjs.com/guides/faq > We have a compiler working for you to give you optimal native DOM updates, but you have all the freedom of a library like React.