You might not need useEffect || Functional components internals by Frontend Master #reactjs
Register for CodeSplitting https://topmate.io/frontendmaster/875825 Frontend Interview Kit: https://topmate.io/frontendmaster/671812 Code Shown in Class: https://github.com/rahuulmiishra/useEffect Stale Closure: https://rahuulmiishra.medium.com/stale-closures-i-underestimated-closures-53ed55e8764a useSyncExternalStore: https://www.youtube.com/watch?v=dHzz4ns962k Hello Everyone, In this video I've explained the differences between class components and functional components in React. I have shown why componentDidMount is not same as useEffect with Empty Dependency. What are stale closures in React. Reasons to avoid useEffect in React Components. And How call api without useEffect use Suspense in React. 00:00:00 Start 00:00:30 Agenda 00:01:36 Class Components vs Functional Components 00:19:10 useEffect is not componentDidMount 00:34:34 timers problem 00:35:55 Execution context 00:49:00 StaleClosure 00:58:45 StaleClosure in React 01:09:10 Reasons to avoid useEffect 01:36:00 No API in useEffect 02:07:00 QnA Join us on this journey to master DSA with Javascript and elevate your coding skills to the next level. Don't miss out – hit play now and let's start coding with confidence! 🔥 My Blogs: https://rahuulmiishra.medium.com LinkedIn: https://www.linkedin.com/in/rahuulmiishra/ Instagram: https://www.instagram.com/allahabadi.dev/ #javascript #reactjs #webdevelopment #frontend #reactjsindia
Download
0 formatsNo download links available.