Re:Solidjs: Simple and performant reactivity for building us...
by 404human on Tuesday April 22, 2025 @10:19PM
(#43768118)
So is Solid kind of like React but easier to use?
[ Parent
| on HN ]
Re:Solidjs: Simple and performant reactivity for building us...
by ethan_smith on Tuesday April 22, 2025 @11:01PM
(#43768290)
Solid is fundamentally different from React - it compiles reactive primitives to direct DOM updates with no virtual DOM or re-rendering, whereas React re-renders components when state changes.
Re:Solidjs: Simple and performant reactivity for building us...
by stevage on Tuesday April 22, 2025 @11:47PM
(#43768461)
That has been my experience.
Re:Solidjs: Simple and performant reactivity for building us...
by voat on Tuesday April 22, 2025 @10:22PM
(#43768131)
Solid js does basically the same thing as React (building UIs for websites) but the architecture and primitives are slightly different.
Re:Solidjs: Simple and performant reactivity for building us...
by dsego on Wednesday April 23, 2025 @07:03AM
(#43770680)
From my modest understanding it turns how you use hooks on its head. React will run the functional component to render each time state updates, and you need hooks to cache and sync things (eg useCallback, useMemo, useEffect). Solid is the opposite I think, it executes only once, and you use hooks to set up bindings which run updates on the component.