3 ms·
I haven't used React in a while and never used SolidJS, but would SolidJS not basically be a optimizing compiler as well for "React". Technically SolidJS is a s
by frfl 3y ago
I haven't used React in a while and never used SolidJS, but would SolidJS not basically be a optimizing compiler as well for "React". Technically SolidJS is a separate framework and I don't know if it's a 100% drop in replacement like this make be.
Edit: My comment is probably not accurate. Please ignore what I said.
- impulser_ 3y agoSolidJS 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.