React Holiday 2021, 2021
- Welcome to React Holiday 2021!
- React 18’s gradual adoption strategy
- React to the future
- Meet the new root API
- Upgrade to React 18 beta, video walkthrough
- So, what have you learn?
- Use new root API and legacy root API together
- Replace the legacy render callback, pt 1
- Replace the legacy render callback, pt 2
- Opt in to automatic batching with createRoot
- Opt out of automatic batching with ReactDOM.flushSync
- Video Recap!
- What have we learned this week?
- React 18’s gradual adoption strategy
- What’s a transition?
- I failed to find a small transition demo…
- Start your Transitions!
- Does in pend?
- React 18 transitions, video walkthrough
- What have we learned this week?
- The state of transition
- Abstracting
- Don’t collapse boundaries
- Spead up sluggish inputs with useDeferredValue
- Show pending state for useDeferredValue