Rezact / Rezact

A JavaScript Framework/Library (call it what you want) that blends the best of svelte, solid, react, and many others.

Home Page:https://rezact.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add go, push, replace methods to router

zachlankton opened this issue · comments

{
  go: //method, Traverses history in a given direction.
  push: //metjod Navigates to a location. In the case of an HTML5 History implementation, this will call history.pushState to effectively change the URL,
  replace: //method, Same as push but performs a history.replaceState instead of history.pushState
}

We can use Vue router as a reference for these methods https://router.vuejs.org/api/interfaces/RouterHistory.html#go