Course lesson

Build a Live Search Box with useBroadcaster and useListener in React

We're currently using mapBroadcaster to map the text of the input to a message sequence, but we can replace our message sequence with any other broadcaster we'd like. Let's try mapping to our getUrl broadcaster to create a "live search" functionality where we...

Duration
5 min
Access
Free
Transcript
Available

We're currently using mapBroadcaster to map the text of the input to a message sequence, but we can replace our message sequence with any other broadcaster we'd like. Let's try mapping to our getUrl broadcaster to create a "live search" functionality where we keep our debounced text input and map it to the fetch request