3 ms·
> They didn't call it "functional" though. See [1] where they say "if you’re a functional programming purist and feel uneasy about React relying on mutable sta
by petilon 5y ago
> They didn't call it "functional" though.
See [1] where they say "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".
[1] https://medium.com/@dan_abramov/making-sense-of-react-hooks-fdbde8803889 https://medium.com/@dan_abramov/making-sense-of-react-hooks-...