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

Map an Error to a Broadcaster Value in React

John Lindquist
InstructorJohn Lindquist
  • react
    React
  • javascript
    JavaScript

Share this video with your friends

Send Tweet

Errors happen, so let's catch them and map them. This lesson walks through mapping an error to a different value to display to the user so they know what's happening when something goes wrong.

Congrats on finishing Section 06: Bringing the Pattern into React!πŸŽ‰πŸŽ‰

πŸ‘‰ CLICK HERE to continue to the next section, Building Light Search Box. πŸ‘ˆ

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