Go offline with the Player FM app!
Strict Mode Behaviors in React 18
Manage episode 327738239 series 1635850
Sam and Ryan talk about the motivation behind the changes to Strict Mode in React 18, and in particular why React simulates an immediate unmount and remount by re-running component effects. They also talk about the tradeoff between database consistency and speed.
Topics include:
- 0:00 - Intro
- 1:12 - The tradeoff between data that’s fast but stale, vs. data that’s slow but consistent
- 11:55 - Strict mode in React 18, the proposed Offscreen API, and the implications for internal vs. external state in Concurrent React
Links:
191 episodes
Manage episode 327738239 series 1635850
Sam and Ryan talk about the motivation behind the changes to Strict Mode in React 18, and in particular why React simulates an immediate unmount and remount by re-running component effects. They also talk about the tradeoff between database consistency and speed.
Topics include:
- 0:00 - Intro
- 1:12 - The tradeoff between data that’s fast but stale, vs. data that’s slow but consistent
- 11:55 - Strict mode in React 18, the proposed Offscreen API, and the implications for internal vs. external state in Concurrent React
Links:
191 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.