Skip to content

Commit

Permalink
fix(readme): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nordowl authored Nov 6, 2024
1 parent 3c8c5e9 commit d4b0eed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ This library is a good alternative for NUQS.
- - [`encodeState` and `decodeState` for pure JS usage](#encodestate-and-decodestate-helpers)
- - [Low-level `encode` and `decode` functions](#encode-and-decode-helpers)
- [Best practices](#best-practices)
- - [Gothas](#gothas)
- - [Gotchas](#gotchas)
- [Other](#other)
- - [Roadmap](#roadmap)
- - [Contributing](#contribute-andor-run-locally)
Expand Down Expand Up @@ -545,7 +545,7 @@ export const useUserState = () => {

```

## Gothas
## Gotchas

1. Can pass only serializable values, `Function`, `BigInt` or `Symbol` won't work, probably things like `ArrayBuffer` neither. Everything that can be serialized to JSON will work.
2. Vercel servers limit size of headers (query string and other stuff) to **14KB**, so keep your URL state under ~5000 words. <https://vercel.com/docs/errors/URL_TOO_LONG>
Expand Down

0 comments on commit d4b0eed

Please sign in to comment.