Войти
  • 163205Просмотров
  • 4 года назадОпубликованоSonny Sangha

Class Components vs Functional Components in React (Which is better? - Beginners Guide)

🚨 Join the world’s BEST developer community “Zero to Full Stack Hero”: 📩 Want coding problems (with solutions!) delivered to your inbox daily? This video is designed to get you familiar with both Functional components & Class based components where we cover topics such as: - Why it's critical to learn both to grow as a developer - Which to use when writing new components - How to refactor a class based component to a functional component - Hacks, Tips & Tricks to know about to help you out - Key differences between the two with State & Props examples 🛠️ LOOKING FOR THE CODE? 🎙️ PODCAST 🖥️ CODE Get the code for my builds here: 🌍 SOCIALS: Instagram: Facebook: LinkedIn: Twitter: Discord: Newsletter: 💰 WANT TO SUPPORT THE CHANNEL? Donate here: Grab some PAPA Merch: 🕐 TIMESTAMPS: 00:00 Intro 00:16 Skillshare Sponsorship 02:44 Functional Component Layout 03:36 Class Based Component Layout 04:32 Functional Component Explained 05:58 Functional Component vs Class Component Features 08:26 Changing Class to Functional Based Component 09:53 Using State in Class and Functional Components 12:53 Using Props in Class and Functional Components 15:32 Outro Let’s get it PAPAFAM 🔥. #reactjs #javascript #tutorial #classcomponents #functioncomponents #react