Neovici / cosmoz-router

Ad-hoc web component page router
Apache License 2.0
11 stars 1 forks source link

Refactor cosmoz-page-router #77

Closed megheaiulian closed 4 years ago

megheaiulian commented 4 years ago

Define routes (Route []) as a list/map of:

Matching routes should done with a function (called match) that:

We should provide a useRoutes function/hook to make this easier to use:

With these changes cosmoz-pager-router should:

We should also provide url handling utilities like replace and navigate.

github-actions[bot] commented 4 years ago

:tada: This issue has been resolved in version 6.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: