egghead.io
  1. 1
    Adding React to a Vanilla Parcel Project
    2m 39s
  2. 2
    Create a Broadcaster in React with useState and useEffect Hooks
    1m 49s
  3. 3
    Create a Custom useBroadcaster Hook
    1m 21s
  4. 4
    Pass a Listener to a useCallback Hook
    3m 57s
  5. 5
    Create a Custom useListener Hook Around useCallback
    1m 57s
  6. 6
    Explaining the useListener Code
    1m 53s
  7. 7
    Map a Sequence of Values in React with useBroadcaster
    2m 6s
  8. 8
    Handling an Enter Keypress with useListener and React
    2m 16s
  9. 9
    Map a Sequence Based on Input Text in React
    4m 2s
  10. 10
    Creating a Debounce Operator to Limit Listener Calls
    3m 3s
  11. 11
    Wrap Fetch in a Broadcaster in React
    4m 32s
  12. 12
    Cancel a Fetch Request with a Broadcaster and React
    1m 6s
  13. 13
    Map an Error to a Broadcaster Value in React
    1m 50s

Explaining the useListener Code

John Lindquist
InstructorJohn Lindquist
  • react
    React
  • javascript
    JavaScript

Share this video with your friends

Send Tweet

We went through creating custom React hooks to support our callback and closure patterns pretty quickly. Let's take a second to review how everything fits together before we move on.

illustration for Bringing the Pattern into React

Course

Bringing the Pattern into React

Build your Developer Portfolio and climb the engineering career ladder.
  • Search
  • Articles
  • Talks
  • Podcasts
  • Topics
  • Machine
  • Pricing
  • Store
©egghead.io
Terms & Conditions