Taro Logo
Back to course
CongratulationsAudreyhas successfully completedBecome A Better Web Developer: Basic React Best PracticesA Taro Course
Florian Walther
Florian WaltherInstructor
Taro Logo
Issued OnMarch 5, 2025
Course Overview

ReactJS is, by far, the most popular JavaScript framework invented. This short video course outlines common developer mistakes during React app development, completed with detailed code samples and explanations.

By watching this course, you will be able to:

  1. Make tangible improvements to your company's codebase
  2. Deepen your understanding of core React concepts

Florian outlines key best practices for building maintainable and efficient React applications. It covers six essential topics:

  • Derive State When Possible: Learn how to minimize redundant state management by deriving state from existing props or state.
  • Clean Up Your Effects: Understand the importance of cleaning up side effects (like timers and subscriptions) within useEffect to prevent memory leaks and unexpected behavior.
  • Clean Up Your Fetch Requests: Discover best practices for managing and cleaning up asynchronous fetch requests to avoid race conditions and improve performance.
  • Create Custom Hooks: Explore how to extract reusable logic into custom hooks, promoting code organization and maintainability.
  • Create Hooks For Your Context Providers: Learn how to create dedicated hooks for accessing context values, simplifying component logic and improving readability.
  • Use Fragments Instead of divs: Understand the performance benefits of using React Fragments instead of unnecessary divs to optimize the DOM structure.

By following these guidelines, you can avoid common pitfalls and create cleaner, more performant React apps as a web developer. Not following these recommendations will make your codebase harder to work with and be less performant.

Meet The Author
Profile picture
Florian WaltherDeveloper and Edu YouTuber (280K subs)
Certificate Award
Profile picture
Audrey
Issued OnMarch 5, 2025