4 ms·
Use a networking library like relay, or react-query and 90% of your state management problems go away in most apps. Your state is on the DB, those libs handle
by atom_arranger 5y ago
Use a networking library like relay, or react-query and 90% of your state management problems go away in most apps.
Your state is on the DB, those libs handle fetching and caching it.
Honorable mention, haven’t used it myself but there is RTK Query too, which is a library like those, but based on Redux, could be easier to debug.