r/reactjs •

Beginner's Thread / Easy Questions (May 2020)

[deleted] — view deleted post

0 Upvotes

401 comments sorted by

View all comments

Show parent comment

0

u/[deleted] May 28 '20

[deleted] — view deleted comment

1

u/GhostofBlackSanta May 28 '20

Ahh I see. Looks like it automatically batches when inside if an event handler but outside of that, you have to use unstable_batchUpdates. Thanks!