Skip to content

1.1.0 (September 5, 2022)

Compare
Choose a tag to compare
@ch3ber ch3ber released this 06 Sep 01:13
· 62 commits to main since this release

Your Router

A powerful router based on client-side routing.

Router methods

Router is the main module of yourRouter.

addRoute

Add a new route to your app. If you want to render a template when the route is loaded you must return a funtion that returns your template.

getRouteParam

Get information from the URL in a dynamic path.

redirectTo

Redirect your URL to another URL without reloading the browser.