Closed leesiongchan closed 8 years ago
const match$ = sources.router .define({ '/': Home, '/login': Login, '/products': ProductsIndex, '/products/:productId': id => s => ProductDetails({ ... }), });
Define accepts anything that switch-path does :)
Thanks!