Observing Anything
Events
const aperture = component => {
const popstate$ = fromEvent(window, 'popstate').pipe(
map(event => ({
type: 'POPSTATE',
state: event.state
}))
)
}const aperture = component => {
const resize$ = fromEvent(window, 'resize').pipe(debounce(500))
}Time
Custom Dependencies
Last updated