3 ms·
The idea with hooks is a compiler could generate the dependency array. The flaw isn’t with the hooks paradigm
by joshribakoff 5y ago
The idea with hooks is a compiler could generate the dependency array. The flaw isn’t with the hooks paradigm
- ryansolid 5y agoBut 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.