Strict Mode Behaviors in React 18
Podcast |
Frontend First
Media Type |
audio
Categories Via RSS |
Technology
Publication Date |
May 06, 2022
Episode Duration |
00:44:31

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:

  • Xata
  • v18.html#new-strict-mode-behaviors">New Strict Mode behaviors in React 18
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.

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:

  • Xata
  • v18.html#new-strict-mode-behaviors">New Strict Mode behaviors in React 18

This episode currently has no reviews.

Submit Review
This episode could use a review!

This episode could use a review! Have anything to say about it? Share your thoughts using the button below.

Submit Review