Skip to content

Commit

Permalink
✏️ improve maintenance point
Browse files Browse the repository at this point in the history
  • Loading branch information
astoilkov committed Dec 4, 2024
1 parent 46ae7a2 commit c0e071f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Why this over [`use-local-storage-state`](https://github.com/astoilkov/use-local
- **Capacity.** `IndexedDB` can store hundred of megabytes to gigabytes of data. `localStorage` limit is around 5-10MB.
- **Performance.** `IndexedDB` is async and doesn't block the UI. `IndexedDB` can store objects without serialization which shaves off the time to do `JSON.parse()` and `JSON.stringify()` that's needed when working with `localStorage`.
- **Availability.** `IndexedDB` is available both in Web Worker and Service Worker, `localStorage` is not. You can write data in those places and then access it in the main thread.
- **Maintenance.** I've been consistent in maintaining [`use-local-storage-state`](https://github.com/astoilkov/use-local-storage-state) (~500k downloads per month) for the past 4 years.
- **Maintenance.** I've been consistently maintaining many open-source libraries including [`use-local-storage-state`](https://github.com/astoilkov/use-local-storage-state) with ~500k downloaders per month.

## Usage

Expand Down

0 comments on commit c0e071f

Please sign in to comment.