willybrauner
released this
12 Jan 08:40
·
49 commits
to main
since this release
Minor Changes
-
c98cc80: ## breaking change: Improve
resolve
andonResolve
params.router.resolve()
andonResolve()
option return now{response, context}
object of the matching route.before:
router.resolve("/").then((res) => { // res: "Hello home!" })
after:
router.resolve("/").then(({ response, context }) => { // response: "Hello home!" // context: RouteContext interface })