I am learning CycleJS and I see that while using Cycle's HTTP Driver, I have to merge the response stream stream
using RxJS switch/mergeAll
to get to the stream level. But when I try to apply those functions, I'm getting a type error: switch is not a function
(on response stream stream).
const response$$ = sources.HTTP
.filter(response$ => response$.request.url === 'http://jsonplaceholder.typicode.com/users/1')
const response$ = response$$.switch()
Could you please let me know if I am missing something?