- Now ContainerLink has support to register a external link like (https://github.com/samuhmatos) don't forget to check out the rules
- Added the new and upgraded useRouter() hook. It is possible using all the useRouter() native features with animation (push, replace, back)
- changeRoute() function is deprecated, use the new useRouter() hook
- Added possibility to add query string to the called route using
changeRoute()
- Fixed the event wasn't removed on change route bug
- Fixed the queryString bug when a route didn't have a dynamic route.
- Added the ability to use dynamic routes using
{key here}
:- Passing when is registering the route, ex.:
{href: "/route/to/{key}", nickname:"route"}
- Call the route, Ex.:
changeRoute("route", { dynamicRoute: [ {key: "key", value: "dynamic-route"} ] })
- Passing when is registering the route, ex.:
- Validating the url if is valide for using.
- The
params
key passed inchangeRoute()
now has the namequeryStrings
- Added the ability to open link in a new Tab using then
changeRoute()