React Hooks for Data Fetching
I have considered swr instead of react-query, as it's smaller, but they lack some fundamentals that we need. Think clear state indicators or even a (solid) solution to manage mutations.
An improved version of `DocumentNode` for seamless TypeScript integration for GraphQL.
GraphQL Code Generator can generate fully typed React hooks if you tell it to, but I'm a fan of keeping things simple and thereby of their TypedDocumentNode approach. This variant is unaware of the GraphQL client that you're using. In other words, it's not tied to react-apollo (or alternative).
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
Minimal GraphQL client supporting Node and browsers for scripts or simple apps
For the fetching part, we'll use graphql-request. It has almost as many installs/month as apollo, but it's way smaller and doesn't have as many open issues.
⚛️ Hooks for fetching, caching and updating asynchronous data in React
I'm not going with the famous @apollo/client because it's too much for our dashboard. Besides, we're migrating from REST to GraphQL, meaning we'll need to deal with both for some time. As React Query is sublime in cache management, and can be used for both REST and GraphQL, we'll be using that.
Widget Driven Development
5 projects | dev.to | 15 Dec 2021
Introducing: GraphQL Codegen plugin for TypeScript & SWR!
2 projects | dev.to | 29 Jul 2021
If every component made it's own API call to get the data, would that be an overkill for the server?
3 projects | reddit.com/r/reactjs | 8 Jan 2022
Can I use websockets in an api rest?
1 project | reddit.com/r/reactjs | 3 Jan 2022
Creating json/cache files during "Build/Deploy" time to save on the cost of the api/time calls?
3 projects | reddit.com/r/reactjs | 1 Jan 2022