Hacker News new | ask | show | jobs
by impulser_ 873 days 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.

1 comments

Yeah, I meant "optimizing compiler" in the sense it takes in JSX and outputs optimized code
Solid doesn’t have a compiler as I recall? (Other than JSX)
Sorry my mistake. I misunderstood Solid as working same as Svelte with a compiler.
I also understood it like that, and the FAQ seems to imply that it is.

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.