Closed siwei-lu closed 6 years ago
const match$ = sources.router.define({ '/main': MainComponent, '/:id': id => sources => OtherComponent({ ...sources, id: xs.of(id) }) });
It will return OtherComponent's sinks when URL is '/main'.
This is likely a bug in switch-path
It will return OtherComponent's sinks when URL is '/main'.