Рет қаралды 795
How does React's act work?
I've been using it forever and never knew! Now I understand what's going on when I get those dumb errors.
My notes - gist.github.com/lalunamel/7d2...
I'm using Obsidian here to take notes - • How I take notes with ...
0:00 - Intro
0:32 - tldr
1:58 - How does Reac schedule rendering? (Fibers)
5:40 - How do the tests know when React is done updating? (It's act)
6:19 - How act works
8:04 - Recap