Overview of SWR data fetching features
SWR provides a transport and protocol agnostic approach to data fetching. Key features include:
- Revalidation on focus: Automatically refreshes data when the window regains focus.
- Polling: Supports periodic automatic data refreshing.
- In-flight de-duplication: Prevents multiple identical requests from being sent simultaneously, reducing network load.