4 ms·
SolidJS sounds exactly like what you want https://www.solidjs.com/ https://www.solidjs.com/
by FireInsight 3y ago
SolidJS sounds exactly like what you want https://www.solidjs.com/ https://www.solidjs.com/
- jchw 3y agoThat looks great. It doesn't mention compiling down to nothing, but it definitely offers the programming model of React Hooks without needing a virtual DOM, which is already a good innovation, and probably something I'd like more than Svelte.
- MrJohz 3y agoI'm a big SolidJS fan, it's pretty much become my default framework for little things, and I highly recommend it. It is very small and very quick - one of the fastest frameworks out there - but also not too complicated or lean. The signals system takes a bit of getting used to, particularly if you're coming from the React world (e.g. there are no render functions, rather each attribute is reactively updated when its data dependencies update), but it's also incredibly powerful once it clicks. Also, once you get down to it, almost everything is just native browser elements, so if you need to integrate with another tool or library, it's usually really obvious how that should work.
- nerdyadventurer 3y agoProblem with Solidjs is lack of mature ecosystem.
- AlexErrant 3y agoI find Solid's model pretty damn close to "compiling down to nothing". I chose Solid for my project because I wanted to support plugins that used other UI frameworks. I recently got a Svelte plugin working with the SolidJS router. I could probably make it prettier... but it's literally a call to Solid's `createComponent` with the Router and an anchoring div to which the Svelte component is mounted. Ezpz. https://github.com/AlexErrant/Pentive/blob/main/example-plugins/svelte/src/index.ts https://github.com/AlexErrant/Pentive/blob/main/example-plug...