Re:Solid.js feels like what I always wanted React to be
by joshribakoff on Tuesday March 01, 2022 @11:10AM
(#30515906)
The idea with hooks is a compiler could generate the dependency array. The flaw isn’t with the hooks paradigm
[ Parent
| on HN ]
Re:Solid.js feels like what I always wanted React to be
by ryansolid on Tuesday March 01, 2022 @11:16AM
(#30516005)
But those dependencies would be static. This goes beyond that. I won't call hooks flawed, they are suitable for React's model, but looking at what reactivity does is a different sort of thing. It is a subtle difference at first.