انتقل إلى وضع عدم الاتصال باستخدام تطبيق Player FM !
المدونة الصوتية تستحق الاستماع
برعاية


How To Stop Running Code Twice In React.js
Manage episode 474438550 series 3493400
Today I cover an issue you might run into with running code multiple times in React -- especially when running initialization code -- and how React thinks you should solve it Docs: https://react.dev/learn/you-might-not-need-an-effect#sharing-logic-between-event-handlers
297 حلقات
Manage episode 474438550 series 3493400
Today I cover an issue you might run into with running code multiple times in React -- especially when running initialization code -- and how React thinks you should solve it Docs: https://react.dev/learn/you-might-not-need-an-effect#sharing-logic-between-event-handlers
297 حلقات
كل الحلقات
×
1 Finally Understand props.children In React.js 5:21

1 Software Engineering in 2035: Will We Still Matter? 9:57

1 Next.js: Optimize & Use Google + Local Custom Fonts 9:19

1 3 JavaScript Features You Need To Know For React 13:38

1 Pro Next.js Developers Understand This | Fetch Revalidation 9:04

1 Prevent Unnecessary Re-Renders with React’s useCallback Hook 6:52

1 Supercharge React Performance with useMemo 7:01

1 5 JavaScript Tricks You Wish You Knew Sooner 10:24

1 This One Line Makes Your Next.js App Feel Instant ⚡ 10:06

1 Controlled vs Uncontrolled Components in React | Explained Clearly 9:06

1 An AI Tool That's Actually Worth It For Developers 7:32

1 This One Fix Makes Your Next.js App Faster and Cleaner 8:48


1 What "use client" Really Does In Next.js 10:17

1 Finally Understand Server Components In Next.js 11:36

1 Understanding Rendering in React & Next.js (The Full Picture) 9:38

1 Optimize Your Code In Next.js With Server Actions 6:29

1 Stream Your Data To Fix Bad UX In Next.js 15 7:57

1 Developers Really Need To Be Aware Of This 7:32


1 Did You Know This About Custom Hooks In React.js? 11:51

1 Your Complete Guide To Middleware In Next.js 15 10:47


1 This Is A Core Concept To Understand About React.js 5:43

1 Your Guide To Parallel Routes In Next.js 15 10:24

1 How To Stop Running Code Twice In React.js 4:26

1 Did You Know This Advanced Routing Technique In Next.js? 7:31




1 Pro Next.js Developers Know How To Do This 6:17


1 A Core Next.js Fundamental You Need To Know About 2:58

1 Senior Developers Don't Make This Mistake 4:08

1 This Is A Beginner Mistake You Should Avoid (Client-side Routing) 6:31

1 2 Mistakes Pro React Developers Don't Make 9:04

1 Did You Know How To Do This In Next.js 15? 4:08

1 How To Actually Use The useEffect Hook In Modern React.js 12:48

1 Unlock PRO UX with Streaming Web Components in Next.js 6:56

1 3 Key Concepts Professional React Developers Master 8:58
مرحبًا بك في مشغل أف ام!
يقوم برنامج مشغل أف أم بمسح الويب للحصول على بودكاست عالية الجودة لتستمتع بها الآن. إنه أفضل تطبيق بودكاست ويعمل على أجهزة اندرويد والأيفون والويب. قم بالتسجيل لمزامنة الاشتراكات عبر الأجهزة.