React Hooks Complete Tutorial - useState, useReducer, useEffect, Custom Hooks + Testing Hooks

Sdílet
Vložit
  • čas přidán 9. 08. 2020
  • 📘New Course: Build full-stack React Typescript applications tsreact.maksimivanov.com/s/ytd
    In this video we will learn how to work with React built in hooks such as: useState, useReducer and useEffect. And also how to create your own custom hooks and test them.
    🐦 Twitter: / ivanov_dev
    I write about React and TypeScript there
    Code: github.com/satansdeer/react-h...
    UseHooks: usehooks.com/
    Awesome React Hooks: github.com/rehooks/awesome-re...
    Discord: / discord

Komentáře • 12

  • @JenilCalcuttawala
    @JenilCalcuttawala Před 4 lety +3

    Great explanation Maksim! Keep posting the quality content...

  • @hn031
    @hn031 Před 4 lety

    Fantastic video. You're one of those pushing to fully understand and know react hooks. I'm getting there.....

  • @ilug8571
    @ilug8571 Před 4 lety +3

    Awesome pokemon example, learn a lot from custom hooks thanks a lot for sharing your knowledge ✨👍🎆🎇

  • @michelkant
    @michelkant Před 4 lety +1

    Great video! I like how snappy you explain this :)

  • @briankiernan4837
    @briankiernan4837 Před 3 lety

    Great stuff Maksim!! Thank you!

  • @Epsymp
    @Epsymp Před 3 lety

    2nd video of yours that I've found clutch. Thanks.

  • @Elator11777
    @Elator11777 Před 3 lety

    Excellent, love it!

  • @AquinoZ
    @AquinoZ Před 3 lety

    awesome videos, thanks for sharing

  • @HenriqueWeiand
    @HenriqueWeiand Před rokem

    Great video! thanks a lot!
    I have one question about useReducer. We have many options such as redux, context API, and also reducer that do similar things. How can I understand the best case to apply each one?

  • @binyaj
    @binyaj Před 4 lety

    Hello Maksim👋
    Thanks for tutorial it is very resourceful.
    I am having problems mocking firebase/firestore in my wep app, for a portfolio project.
    I am using React Testing Library for my tests.
    I use basic crud operations like delete, update, get and add from the firebase/firestore. I also used Google Storage.
    The firebase/firestore functions are used in onclick event handlers to perfom delete and update operations.
    Then to add and update resources I used react hook forms.
    I would be so grateful if you made a tutorial demonstrating how we can effectively mock firebase in our unit tests for instance when deleting a resource or retrieving resources from firebase.
    The whole app was built using React Hooks Custom hooks context etc .... modern react.
    Thanks in advance.

  • @antimuleanti-antimule839

    todo notes example is missing from source code. Otherwise, excellent!

  • @RussianFaZeFakie
    @RussianFaZeFakie Před 4 lety

    Руслану Усачеву привет!