Thumbnail for React 18: useEffect Double Call; Mistake or Awesome?

React 18: useEffect Double Call; Mistake or Awesome?

Is React 18 double calling useEffects a mistake, or a sign of an awesome feature that will help you build more reliable components? Let's find out! Strict Mode documentation: https://reactjs.org/docs/strict-mode.html πŸ‘‰ Practical Module Federation Book: https://module-federation.myshopify.com/products/practical-module-federation πŸ‘‰ No BS TS (The Book): https://no-bs-ts.myshopify.com/ πŸ‘‰ I'm a host on the React Round-Up podcast: https://devchat.tv/podcasts/react-round-up/ πŸ‘‰ Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ πŸ‘‰ Discord server signup: https://discord.gg/ddMZFtTDa5 πŸ‘‰ VS Code theme and font? Night Wolf [black] and Operator Mono πŸ‘‰ Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF 0:00 Introduction 1:10 Example Setup 3:32 The (Not) Problem 5:04 What Strict Mode Covers? 6:24 The (Not) Fix 7:56 Migrate Heavyweights Off Of useEffect 8:40 Is It A Good Developer Experience? 10:14 Outroduction #reactjs #react18 #react_useEffect