June 3, 2020
useState: Simple on the Surface, Deep Underneath
useState looks simple. Then you hit state batching, stale closures, and object mutations, and you spend a Saturday debugging something that should have taken five minutes.
Showing posts tagged: useState
Technical articles about software engineering, architecture, and web development.
June 3, 2020
useState looks simple. Then you hit state batching, stale closures, and object mutations, and you spend a Saturday debugging something that should have taken five minutes.