Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

oyvindberg/use-remote-data

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /