In this video, Jack will talk about some do’s and don’ts when it comes to writing code with the React JavaScript framework.
Timestamps:
00:00 Introduction
00:30 Do use functional components
02:22 Don’t think of function components as templates
07:08 Do use TypeScript
12:02 Don’t worry about re-renders (too much)
14:35 Do learn to love dependency arrays
18:36 Don’t ignore useCallback or useMemo
22:25 Do learn to make custom hooks
23:23 Don’t use Redux just because you think you have to
26:00 Do use a query library
27:50 Don’t make your own UI library
29:29 Outroduction
☞ Build a React.js application and add Authentication with Auth0
☞ Learn React - Full Course for Beginners - React Tutorial 2019
☞ Vue js Tutorial Zero to Hero || Brief Overview about Vue.js || Learn VueJS 2023 || JS Framework
☞ JavaScript for React Developers | Mosh
☞ Page Transitions In React - React Router V6 and Framer Motion Tutorial