query-key-factory
rapini
query-key-factory | rapini | |
---|---|---|
3 | 1 | |
1,012 | 135 | |
- | - | |
6.7 | 5.2 | |
2 months ago | 4 months ago | |
TypeScript | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
query-key-factory
-
dealing with server state and react-query and strategies for ....
Use a query key factory: https://github.com/lukemorales/query-key-factory
- A library for creating standardized query keys, useful for cache management in @tanstack/query
rapini
-
React Query Codegen from OpenAPI
Once you generate the custom npm package using rapini, you can start to import all the react query hooks, types, requests and query keys from the package. Let's say you generated your package with output name of my-package, like this: rapini -p path/to/openapi.yaml --output-dir /my-package then you can start importing like this:
What are some alternatives?
react-query-helper - A helper library to use react-query more efficient, consistency
reference-app-portable-rep - Portable reputation – an Affinidi reference app
react-query-auth-token-refresh - Demo code for React Query Auth Token Refresh Article
material-react-table - A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript
hyper-fetch - ⚡ Fetching and realtime data exchange framework.
oats-ts - Comprehensive code generators for OpenAPI written in Typescript
react-query-kit - 🕊️ A toolkit for ReactQuery that make ReactQuery hooks reusable and typesafe
pocketbook - Minimal social app with rakkasjs vite ssr, shadcn and pocketbase
vanilla-swr - `stale-while-revalidate` caching stratergy for vanilla web-apps
TanStack Query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
orval - orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺