4 ms·
> I’m not sure the react team ever makes such a claim How about this quote: "Finally, if you’re a functional programming purist and feel uneasy about React re
by flowerlad 5y ago
> I’m not sure the react team ever makes such a claim
How about this quote:
"Finally, if you’re a functional programming purist and feel uneasy about React relying on mutable state as an implementation detail, you might find it satisfactory that handling Hooks could be implemented in a pure way using algebraic effects (if JavaScript supported them)."
That sure sounds like they are saying even FP purists should feel comfortable using hooks.
See https://medium.com/@dan_abramov/making-sense-of-react-hooks-fdbde8803889 https://medium.com/@dan_abramov/making-sense-of-react-hooks-...