https://github.com/thibaultboursier/use-offline-queue
React hook which allows to put functions in a queue in offline mode
https://github.com/thibaultboursier/use-offline-queue
offline online queue react react-hook
Last synced: 7 months ago
JSON representation
React hook which allows to put functions in a queue in offline mode
- Host: GitHub
- URL: https://github.com/thibaultboursier/use-offline-queue
- Owner: thibaultboursier
- License: mit
- Created: 2019-09-13T17:38:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T10:20:58.000Z (about 3 years ago)
- Last Synced: 2024-10-29T00:56:15.360Z (over 1 year ago)
- Topics: offline, online, queue, react, react-hook
- Language: TypeScript
- Homepage:
- Size: 419 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# use-offline-queue
[](https://www.npmjs.com/package/use-offline-queue) [](https://www.npmjs.com/package/use-offline-queue) [](https://circleci.com/gh/thibaultboursier/use-offline-queue)
React hook which allows to put functions in a queue in offline mode.
Read about [Hooks](https://reactjs.org/docs/hooks-intro.html) feature.
## Installation
```
npm i use-offline-queue --save
```
## Examples
Try demo here: [https://stackblitz.com/edit/use-offline-queue](https://stackblitz.com/edit/use-offline-queue).