Closed jackcmeyer closed 4 years ago
Since we use PouchDB we don't really need to "fetch remote" data. Can you elaborate on how and where we are going to use react-query?
Since we use PouchDB we don't really need to "fetch remote" data. Can you elaborate on how and where we are going to use react-query?
@fox1t: Although data fetches can be done through regular function calls to the PouchDB library, react-query is able to help provide a consistent interface for returning errors and help with loading states during async data fetching. React Query also will serve as a common interface for all async data fetches regardless of the target.
LGTM
Add ADR for switching from redux to react-query.
This PR can be merged when: