https://github.com/lxsmnsyc/swr-store
Reactive, data-fetching stores with stale-while-revalidate strategy
https://github.com/lxsmnsyc/swr-store
data-fetching react store swr
Last synced: about 2 months ago
JSON representation
Reactive, data-fetching stores with stale-while-revalidate strategy
- Host: GitHub
- URL: https://github.com/lxsmnsyc/swr-store
- Owner: lxsmnsyc
- License: mit
- Created: 2020-11-06T17:31:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T13:59:26.000Z (over 2 years ago)
- Last Synced: 2025-03-29T07:51:29.476Z (2 months ago)
- Topics: data-fetching, react, store, swr
- Language: TypeScript
- Homepage:
- Size: 1.28 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# swr-store
> Reactive stores for data-fetching with stale-while-revalidate strategy.
## Packages
| Package | Version | Example | Notes |
| --- | --- | --- | --- |
| [`swr-store`](https://github.com/lxsmnsyc/swr-store/tree/main/packages/swr-store) | [](https://www.npmjs.com/package/swr-store) | | |
| [`react-swr-store`](https://github.com/lxsmnsyc/swr-store/tree/main/packages/react-swr-store) | [](https://www.npmjs.com/package/react-swr-store) | [](https://codesandbox.io/s/github/LXSMNSYC/swr-store/tree/main/examples/react-swr-store) | React demo |
| [`preact-swr-store`](https://github.com/lxsmnsyc/swr-store/tree/main/packages/preact-swr-store) | [](https://www.npmjs.com/package/preact-swr-store) | [](https://codesandbox.io/s/github/LXSMNSYC/swr-store/tree/main/examples/preact-swr-store) | Preact demo |## License
MIT © [lxsmnsyc](https://github.com/lxsmnsyc)