|
|
|
|
|
by _heimdall
628 days ago
|
|
There are a lot of footguns in react if you don't know how use state works. If you don't know what triggers a re-render you can end up in a state where the data was changed but the UI didn't update, or where the data changed once and re-rendered multiple times. In my experience the issues are more noticeable with async state changes, like making network requests or state-driven animations. |
|