Re:A Critique of React Hooks
by exogen on Monday April 27, 2020 @12:19PM
(#22997247)
The problem before was that your class component was not updating correctly and rendering stale & out of sync data. If it were updating correctly, it would have had the same infinite loop problems.
[ Parent
| on HN ]