Releases: wanjas/react-use-url-state
Releases · wanjas/react-use-url-state
2.0.5
24 Jul 02:17
Compare
Sorry, something went wrong.
No results found
Remove debugging console.log
2.0.3
18 Jul 02:24
Compare
Sorry, something went wrong.
No results found
Minor rewrite
Breaking
Use zod's .default() function instead of passing initialValue to the hook.
- useUrlRouter(z.object(val: z.string().optional()), { val: 'default_value' }))
+ useUrlRouter(z.object(val: z.string().default('default_value')))
1.1.1
20 Sep 05:16
Compare
Sorry, something went wrong.
No results found
Next.js router's push seems to become not synchronous. That leads to the state being one step behind.
Next.js router's use is disabled at the moment in favor of a more generic approach.
1.1.0
02 May 10:05
Compare
Sorry, something went wrong.
No results found
Use Next.js router if it's available (for /pages and /app)
1.0.1
26 Jan 06:28
Compare
Sorry, something went wrong.
No results found
Docs and readme changes
Cypress tests
1.0.0
28 Dec 08:53
Compare
Sorry, something went wrong.
No results found
Rename updateState to setValues.
Domain for docs
0.3.2
08 Dec 04:20
Compare
Sorry, something went wrong.
No results found
Minor chores and readme updates
0.3.1
02 Dec 03:43
Compare
Sorry, something went wrong.
No results found
0.3.0
02 Dec 03:40
Compare
Sorry, something went wrong.
No results found
Internal subscription to events improvements
0.2.0
29 Nov 13:59
Compare
Sorry, something went wrong.
No results found