Skip to content

Commit 0c7821b

Browse files
committed
chore: Readme
1 parent e804328 commit 0c7821b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ Use URL to store a state in React.
55
* Easily handle numbers, dates, booleans, and arrays.
66
* Have a type-safety with [Zod](https://zod.dev/)
77

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') }`
813
914
## Installation
1015

11-
```sh
12-
pnpm add react-use-url-state zod
13-
```
1416
```sh
1517
npm i react-use-url-state zod
1618
```

0 commit comments

Comments
 (0)