Create use router hook (#13)

* refactor: useRouter to useInternalRouter

* feat: create useRouter hook

* feat: optimized payload sent to client

* feat: add support for query and pathname value in useRouter

* feat: update version to v0.4.6
This commit is contained in:
Valerio Ageno
2024-07-11 21:43:38 +02:00
committed by GitHub
parent 3e6aa540fa
commit 67d4e1bcac
23 changed files with 116 additions and 67 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "tuono-lazy-fn-vite-plugin",
"version": "0.4.5",
"version": "0.4.6",
"description": "Plugin for the tuono's lazy fn. Tuono is the react/rust fullstack framework",
"scripts": {
"dev": "vite build --watch",