query-cache 1.0.0-alpha.1 Latest
- [ ] add default cache and use query integration tests - [ ] add global sync default cache and use query integration tests - [ ] variables as query keys. - [ ] optimistic UI queries - [ ] storage options -> session, cookie, indexdb etc… - [ ] Performance optimizations like pagination and lazy loading data - [ ] Deduping multiple requests for the same data into a single request - [ ] refetchOnReconnect, refetchInterval - [ ] retry mechanism - [ ] structural sharing - [ ] dependent queries ```javascript let userId = null; useQuery(['user', email], getUserByEmail, { onSuccess: (user) => { userId = user.id; }, }) useQuery(['projects', userId], getProjectsByUser, { // The query will not execute until the userId exists enabled: !!userId, } ) ``` - [ ] refetchInterval number | false - [ ] refetchIntervalInBackground boolean - [ ] refetchOnMount boolean - [ ] refetchOnReconnect boolean
Install from the command line:
Learn more about npm packages
$ npm install @openreplyde/query-cache@1.0.0-alpha.1
Install via package.json:
"@openreplyde/query-cache": "1.0.0-alpha.1"
Recent Versions
- 1
Loading
Sorry, something went wrong.
Details
- OpenReplyDE
- cache-query
- MIT License
- 17 dependencies
- Readme