https://github.com/bugwheels94/create-async-thunk-plus
https://github.com/bugwheels94/create-async-thunk-plus
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bugwheels94/create-async-thunk-plus
- Owner: bugwheels94
- Created: 2020-12-10T20:28:07.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-18T18:37:39.000Z (over 5 years ago)
- Last Synced: 2025-11-23T23:03:47.335Z (7 months ago)
- Language: JavaScript
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Create Async Thunk Plus
This is a wrapper on Create Async Thunk Plus with reducers built in for some common actions
## Parameters
type, payloadCreator, options // Same like createAsyncThunk
This adds few additional properties to the options
1. reset: Bool|Number
The tracker will reset after given number of Seconds
2. CRUDMode: create | readAll | readOne | readMany | update | delete
1. create
Add the entity