@kentcdodds explains a reset callback has pros over resetting with a React key update:
- lighter, no unmount/remount
- smoother, can preserve animated state transitions
Lighthouse can measure lab perf for nav & user interactions
β‘οΈ objectively measure the whole experience, not just initial page load!
β‘οΈ web.dev/lighthouse-useβ¦
The Plan For React 18:
- first alpha published
- mention available features
- introducing the working group
- gradual adoption strategy
- stable release expected in a few months