Re:The Plan for React 18
by flowerlad on Tuesday June 08, 2021 @03:00PM
(#27439364)
To clarify, I am not talking about the React 18 feature. I have this problem in React 17. On Pagedown key, I throttle the setState calls because calling it too fast causes React to batch the updates. I'll try to make an standalone repro and open an issue in the React repo.
[ Parent
| on HN ]
Re:The Plan for React 18
by danabramov on Tuesday June 08, 2021 @03:45PM
(#27439861)
Automatic batching is new in 18 so I suspect something else is up. A repro case would be highly appreciated! Thanks.