Skip to content

Commit

Permalink
✏️ add the size of the library to the why section
Browse files Browse the repository at this point in the history
  • Loading branch information
astoilkov committed Jun 12, 2024
1 parent 61a0a17 commit e935569
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ npm install use-local-storage-state@17

- Actively maintained for the past 4 years — see [contributors](https://github.com/astoilkov/use-local-storage-state/graphs/contributors) page.
- Production ready.
- Works with React 18 concurrent rendering and React 19.
- 776 B (minified + gzipped).
- SSR support.
- Works with React 18 concurrent rendering and React 19.
- Handles the `Window` [`storage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/storage_event) event and updates changes across browser tabs, windows, and iframe's. Disable with `storageSync: false`.
- In-memory fallback when `localStorage` throws an error and can't store the data. Provides a `isPersistent` API to let you notify the user their data isn't currently being stored.
- Aiming for high-quality with [my open-source principles](https://astoilkov.com/my-open-source-principles).
Expand Down

0 comments on commit e935569

Please sign in to comment.