Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
route.params: ${JSON.stringify(route.params)}
`}
<div>
<content>
</content></div>
}
)
return {state$, Component}
}
export default R.pipe(
withRouting({routes}),
)(app)
{" "}
<a href="https://github.com">GitHub.com</a>
{" "}
<a href="/not-found">Not Found</a>
<p></p>
<hr>
<content>
}
)
return {state$, route$: sources.route$, Component}
}
export default R.pipe(
withRouting({
routes,
}),
)(app)
</content>
{new Route("/").match(U.pathname(route.url))
? null
: <p><a href="/">Back to Home</a></p>
}
<div>
<content>
</content></div>
}
)
return {state$, Component}
}
export default R.pipe(
withRouting({
routes,
}),
)(app)
route.params: ${JSON.stringify(route.params)}
`}
<div>
<content>
</content></div>
}
)
return {state$, Component}
}
export default R.pipe(
withRouting({routes}),
)(app)