Skip to content

Promise handling for react. Principled, Boilerplate-free, Caching, Invalidating

License

Notifications You must be signed in to change notification settings

oyvindberg/use-remote-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

79ad8cd · Feb 26, 2025

History

98 Commits
Feb 23, 2025
Feb 26, 2025
Feb 25, 2025
Feb 25, 2025
Jun 20, 2021
Jun 24, 2021
Feb 23, 2025
Jun 20, 2021
Jun 21, 2021
Jun 26, 2021
Oct 6, 2022
Feb 25, 2025
Feb 22, 2025
Jun 26, 2021
Feb 23, 2025
Feb 22, 2025

Repository files navigation

Awesome data access for React

Start with the documentation

Some background

Based on the pattern described in this article:

Through react hooks and the RemoteDataStore abstraction on top of RemoteData, this library also provides:

  • lazy loading - only data which is necessary to render is fetched
  • invalidation - you specify how long the data should live, and it'll be automatically updated
  • sharing references to stores between components and deduplicating fetches
  • retrying failed fetches

prior art