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 a Sequence Based on Input Text in React

John Lindquist
InstructorJohn Lindquist
  • javascript
    JavaScript
  • react
    React

Share this video with your friends

Send Tweet

Let's combine the logic of pushing the value of the text box when we hit the Enter key with the logic of pushing out a sequence of values. We can do this by piping operators together and using our mapBroadcaster operator to switch over to the sequence broadcaster.

illustration for Bringing the Pattern into React

Course

Bringing the Pattern into React

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