Udemy

Custom React Hooks Crash Course: Learn Hooks Through 6 Apps

立即報名
  • 110 名學生
  • 更新於 3/2024
4.8
(21 個評分)
  • 提示:
  • 透過本站連結購買Udemy課程,本站將獲得推廣佣金,有助未來提供更多實用進修課程資訊給讀者。

課程資料

報名日期*
全年招生
課程級別
學習模式
修業期
0 小時 59 分鐘
教學語言
英語
授課導師
Ákos Kőműves
評分
4.8
(21 個評分)
*提示: 以上時間表僅供參考,以機構網站為準。

課程簡介

Custom React Hooks Crash Course: Learn Hooks Through 6 Apps

Fast track to applying Custom React Hooks in your React apps using TypeScript

In this course, through 6 small applications, we'll recreate hooks and patterns that are commonly used in production web applications.


We'll learn how to encapsulate generic utility functions, fetches, business logic, or any code we want to reuse in Custom Hooks.


We'll use create-react-app as the starting port for every application, React 18 and TypeScript.


The lectures will cover:


  1. Introduction to Custom Hooks (Counter app)

  2. Structure of a Custom Hook (Toggle component)

  3. Lifecycle in Custom Hooks (Weather dashboard)

  4. Sharing Logic with Custom Hooks (useForm hook + localStorage)

  5. Custom Hooks with Context API (Theme Switcher)

  6. Advanced Patterns and Best Practices (Todo app)

  7. Testing Custom Hooks (Counter app tests)

This course aims to show you different types of Custom React Hooks in various scenarios so you can learn, recognize, and apply these patterns to your application.


Working Through This Course

Every example app is built with Create React App. This was the easiest way for me to create React apps I can work with that don't have any unnecessary clutter, but these patterns can be applied in any React application, no matter how they are created.

This course is broken down into lectures and in each lecture you'll build a different app, and in some you'll even reuse some of the hooks you created earlier. The course is a practical, hands-on approach to learning through practice. You learn best when you code along with the examples.


Resources

All example apps are in custom-react-hooks-course Zip, In Lecture 1. > Introduction.

課程章節

  • 3 個章節
  • 9 堂課
  • 第 1 章 Introduction
  • 第 2 章 Basic Custom Hook Patterns - state, toggle, fetch
  • 第 3 章 Advanced Custom Hook Patterns - localStorage, Context API, useReducer, testing

課程內容

  • Build Custom React Hooks from scratch through 6 different apps
  • Explore different patterns for Custom React Hooks
  • Learn to use multiple Custom Hooks together
  • Advanced hooks usage: reducers, testing React Custom Hooks

此課程所涵蓋的技能


評價

  • 신
    신명희
    5.0

    Awesome course. thank you.

  • R
    Rocco Hundertmark
    5.0

    Alles gut.

  • Y
    Yevhen Nahalskyi
    4.5

    This is, overall, a good course suitable for beginners. Some fundamental patterns are covered. Some inconveniences were caused by the fact that the author only provided the final versions of the code, but it would have been more convenient if the initial versions of the code were also provided, so that the student could follow the instructor’s steps step by step (as is done in many other courses). In any case, the course is definitely worth the time spent. Thank you!

  • F
    Fanny Nyayic
    5.0

    This course exceeded my expectations in every aspect. The content was well-structured, comprehensive, straight forward and delivered clearly and engaging.

立即關注瀏覽更多

本網站使用Cookies來改善您的瀏覽體驗,請確定您同意及接受我們的私隱政策與使用條款才繼續瀏覽。

我已閱讀及同意