React Hooks Tutorial - Master React JS Hooks Development | David Katz | Skillshare

React Hooks Tutorial - Master React JS Hooks Development

David Katz, Software Engineer - Coding Instructor

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
40 Lessons (5h 3m)
    • 1. What You’ll Get From this Course

      4:57
    • 2. React Core Concepts Review

      3:08
    • 3. Project One - Dive into Hooks Development

      2:00
    • 4. Set Up Project One

      6:23
    • 5. First Hook: UseState

      12:09
    • 6. UseEffect

      13:56
    • 7. Challenge and Code: Stories Component with UseEffect

      9:32
    • 8. Build a Custom Hook: useFetch

      14:04
    • 9. [Optional] Function Keyword vs Arrow Functions

      8:15
    • 10. Preview - Hooks Under the Hood

      0:47
    • 11. The React Runtime and How React Applies Hooks

      11:08
    • 12. UseState Under the Hood

      7:19
    • 13. Tasks Component Part 1: Multiple useState hooks

      11:36
    • 14. Tasks Component Part 2

      8:58
    • 15. The Order of UseState

      6:23
    • 16. Local Storage for Tasks

      8:18
    • 17. Hooks with an Interval

      12:15
    • 18. Effects with Cleanup

      6:17
    • 19. Dynamic Delay and Increment

      11:23
    • 20. Challenge and Code: Matrix Component

      11:54
    • 21. Build a Custom Hook: useDynamicTransition

      7:30
    • 22. Project Two Preview

      2:43
    • 23. The Why of Hooks

      5:26
    • 24. The Reducer Pattern Overview

      3:24
    • 25. UseReducer for Tasks | Part 1

      10:24
    • 26. UseReducer for Tasks | Part 2

      9:59
    • 27. Set Up Reaction App

      4:34
    • 28. Reactions Reducer State

      10:51
    • 29. Publish Message Component

      7:31
    • 30. Challenge and Code: MessageBoard Component

      3:56
    • 31. UseContext and a Custom Context Hook

      8:20
    • 32. The PubSub and Reducer Architecture

      3:54
    • 33. Explore PubNub

      10:31
    • 34. PubSub Function and Reducer Connection

      9:14
    • 35. Set Username

      9:08
    • 36. CreateReaction Component

      3:59
    • 37. Reactions Reducer flow

      8:09
    • 38. Publish Reactions

      5:31
    • 39. MessageReactions Component

      6:14
    • 40. Congratulations and Final Remarks

      0:49

About This Class

You should take this course if you want to learn about React Hooks in a time-efficient and thorough manner/

What are React Hooks?

React hooks are the largest update to React since its inception.

They’re a way for function components to “hook” into React functionality. Previously, when you wanted React components to have state or side effects, you needed to extend the base React Component class. Now, function components need only to apply a hook to gain this functionality.

Should I care about hooks?

As a web and React developer, and software engineer, you should definitely care about React hooks. This feature is the future of React. Since the feature is still so new, learning React hooks will set you apart as a web developer and engineer.

*****

When I first started exploring hooks, I was pleasantly surprised at the simplicity of the API. I was expecting to need a huge mental shift. But as I continued to create new components with hooks, I started to see the power of the new paradigm. If anything, I find React even more elegant than I did before!

*****

In this course, you’ll learn what hooks are, how they work, and why they’re so exciting. Here’s the course journey:

  • Dive into React hooks right away. You’ll gain relevant experience as soon as the first section. Time is a precious resource. And I want to make sure you feel like you’re spending your time wisely with this course. So in a matter of minutes, you will be writing React hooks code by building an application.
  • Build an interesting React app to explore hooks. The first project of the course is an application called Home. Home can serve as the home page of your browser. It has a bunch of useful widgets like a custom search bar, a photo gallery, a list of the latest hacker news, and more. It has a variety of use cases that will cover the essentials of React hooks.
  • Understand coding hurdles with hooks. When learning hooks, like any new technology, it will require a little bit of a mental shift. There’s a few coding hurdles to get through, and this course will show the right way to approach those situations.
  • Learn how hooks work under the hood. It’s not necessary to deep dive into the React engine to code with hooks. But it’s extremely helpful to explore how React works underneath the surface layer. So this course is going to dig deeper and give you that under the hood perspective of React with hooks.
  • Explore interesting cases with JavaScript and hooks. Hooks have a simple API. You call them as functions. But their behavior may not always align with your expectations as a JavaScript developer. In this course, you’ll cover a handful of interesting cases that appear when you try to jive hooks with JavaScript functionality.
  • Look at the big picture and answer the question of why. Why were hooks introduced to React - an already well established framework? Throughout the course, you’ll get the answer in tidbits throughout various videos. In addition, there will be a section completely devoted to answering this more thoroughly.
  • Build a project to master hooks. The second project in the course is an app called Reaction. This multi-user application allows people to share messages and react to them with emojis. The intent of the project is to give you the chance to both master previous material, and learn more advanced concepts with out of the box hooks.

*****

In summary, you should take this course if you want to learn React Hooks in a time-efficient way, while building relevant and engaging projects. Again, even if you only complete the preview content, you’ll walk away with a lot of valuable lessons learned.

See you there!

60

Students

--

Projects

  • --
  • Beginner
  • Intermediate
  • Advanced
  • All Levels
  • Beg/Int
  • Int/Adv

Level

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

David Katz

Software Engineer - Coding Instructor

David is a software engineer at Zendesk, with a Bachelor of Computer Science from the University of San Francisco.

David has gained valuable experience from the tech industry. By incorporating these best practices, he hopes to create the highest quality learning experiences possible.

Feel free to connect with David! He is always curious about the cool project you're working on. And he loves to discuss ideas on how to build impactful technology.

See full profile

Report class