Register for CodeSplitting
topmate.io/frontendmaster/875825
Frontend Interview Kit:
topmate.io/frontendmaster/671812
Code Shown in Class:
github.com/rahuulmiishra/useE...
Stale Closure:
/ stale-closures-i-under...
useSyncExternalStore:
• useSyncExternalStore h...
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: / rahuulmiishra
LinkedIn: / rahuulmiishra
Instagram: / allahabadi.dev
#javascript #reactjs #webdevelopment #frontend #reactjsindia
8 июл 2024