You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- <b>select</b> - the select option controls what part of the state is synced with the query string
62
-
- <b>key: string</b> - the key option controls how the state is stored in the querystring (default: 'state')
62
+
- <b>key: string | false</b> - the key option controls how the state is stored in the querystring (default: 'state'). Set to `false` for standalone mode where each state key becomes a separate query parameter.
63
63
- <b>url</b> - the url option is used to provide the request url on the server side render
64
-
- <b>format</b> - custom format for stringify/parse (default: JSON-based format)
64
+
- <b>format</b> - custom format for stringify/parse (default: JSON-based format). Use `readable` from `zustand-querystring/format/readable` for human-readable URLs.
65
65
- <b>syncNull: boolean</b> - when true, null values that differ from initial state are synced to URL (default: false)
66
66
- <b>syncUndefined: boolean</b> - when true, undefined values that differ from initial state are synced to URL (default: false)
0 commit comments