Packt

React State Management, Effects & Custom Hooks

Coursera PlusMonthly 3 个月 课程4 折优惠 ,让你轻松掌握闪耀技能。立即节省

Packt

React State Management, Effects & Custom Hooks

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • Efficiently manage state using React Context and custom hooks.

  • Build professional React projects like portfolio websites with dark/light mode toggle.

  • Master the use of React's useEffect for managing side effects.

  • Implement advanced state management solutions with React useRef for optimal performance.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

May 2026

作业

12 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

积累特定领域的专业知识

本课程是 The Complete React 19 Developer Course (incl. Next.js 16) 专项课程 专项课程的一部分
在注册此课程时,您还会同时注册此专项课程。
  • 向行业专家学习新概念
  • 获得对主题或工具的基础理解
  • 通过实践项目培养工作相关技能
  • 获得可共享的职业证书

该课程共有10个模块

In this module, we will review common mistakes and best practices when using React Context to manage state. You'll learn how to avoid pitfalls and implement efficient state management using React Context. By the end of this module, you will have a strong understanding of how to use React Context effectively in your projects.

涵盖的内容

1个视频2篇阅读材料1个作业

In this module, we will walk through the process of building a professional portfolio website with dark/light mode functionality. We'll cover the use of React Context to manage the theme state and ensure it persists across user sessions. This project will help you understand component structure, styling, and dynamic theming in React.

涵盖的内容

22个视频1个作业

In this module, we will explore the use of React Refs for managing DOM references and their importance in React applications. You'll learn how to create a timer, access DOM nodes directly, and implement best practices for DOM manipulation using Refs. By the end, you will have hands-on experience using Refs in various scenarios.

涵盖的内容

5个视频1个作业

In this module, we will review the common mistakes made while using React Refs and provide best practices for improving your implementation. We will also discuss performance optimization techniques to ensure that Refs are used efficiently in your React applications. This module helps you refine your understanding of React Refs.

涵盖的内容

1个视频1个作业

In this module, we will create a fun Card Flip Game project, utilizing the useRef hook to manage the flipping logic and game state. You'll learn how to organize components, handle game state, and integrate sound effects to enhance user interaction. This hands-on project will deepen your understanding of React hooks and Refs.

涵盖的内容

14个视频1个作业

In this module, we will introduce the useEffect hook and demonstrate its role in handling side effects in React. You will learn how to manage dependencies, implement cleanup functions, and optimize the performance of your application by handling side effects efficiently. This module is essential for managing external data and interactions in React applications.

涵盖的内容

5个视频1个作业

In this module, we will review the common mistakes developers make when using the useEffect hook and discuss best practices to optimize its usage. We’ll also cover performance optimization strategies to ensure your React app runs smoothly. This module is perfect for fine-tuning your useEffect implementation.

涵盖的内容

1个视频1个作业

In this module, we will guide you through building a weather app that fetches and displays real-time weather data using the useEffect hook. You'll learn how to structure the project, manage side effects, and handle asynchronous data fetching. This hands-on project will enhance your skills in using useEffect for dynamic applications.

涵盖的内容

12个视频1个作业

In this module, we will create a multi-language story collection app that uses React Context for language management. You'll learn how to build dynamic components, structure your project, and integrate a backend service for data storage. This project will give you practical experience in developing internationalized React apps with state management.

涵盖的内容

15个视频1个作业

In this module, we will build a feature-rich Kanban board, similar to Trello, that incorporates drag-and-drop functionality and uses the useEffect hook for dynamic state management. You’ll learn how to manage columns, tasks, and user interactions, while ensuring the app’s state persists across page reloads. This project will sharpen your React and hook-based development skills.

涵盖的内容

15个视频1篇阅读材料3个作业

获得职业证书

将此证书添加到您的 LinkedIn 个人资料、简历或履历中。在社交媒体和绩效考核中分享。

位教师

Packt - Course Instructors
Packt
1,857 门课程514,430 名学生

提供方

Packt

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'

Jennifer J.

自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'

Larry W.

自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'

Chaitanya A.

''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'

常见问题