Skip to content

Commit

Permalink
Update readme to include doNotUpdate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
presto2116 committed Jul 12, 2024
1 parent ff9f038 commit defbe26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-cookie/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Let you optionally specify a list of cookie names your component depend on or th

- options (object):
- doNotParse (boolean): do not convert the cookie into an object no matter what
- doNotUpdate (boolean): do not update the cookies when the component mounts

```jsx
const [cookies, setCookie, removeCookie] = useCookies(['cookie-name'], {
Expand Down

0 comments on commit defbe26

Please sign in to comment.