all imlementations using CycleJS all imlementations of Twoway

an xstream implementation
of the Twoway demo using CycleJS



const focusDriver = (selector) => (stream) => stream.addListener({
  next: () => document.querySelector(selector).focus(),
  error: () => {},
  complete: () => {}
})

export default focusDriver