Framework agnostic data-fetching library. Formerly known as “React Query”. This library is highly recommended for everything around data fetching when things get more complicated. E. g. you want to do more than just fetching a bit of data once.
Tanstack Query can handle:
- Background fetching
- Caching
- Lazily loading data
- Knowing when data is outdated