We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e804328 commit 0c7821bCopy full SHA for 0c7821b
README.md
@@ -5,12 +5,14 @@ Use URL to store a state in React.
5
* Easily handle numbers, dates, booleans, and arrays.
6
* Have a type-safety with [Zod](https://zod.dev/)
7
8
+> `https://example.com/?text=query&number=10&date=2023-11-29T13%3A52%3A50.230Z`
9
+>
10
+> <=>
11
12
+> `{ text: 'query', number: 10, date: new Date('2023-11-29T13:52:50.230Z') }`
13
14
## Installation
15
-```sh
-pnpm add react-use-url-state zod
-```
16
```sh
17
npm i react-use-url-state zod
18
```
0 commit comments