@arkitema/datafetching
v0.6.0
Published
This package handles data fetching, by communicating loading states or errors to the user. It is composed of the following:
Downloads
15
Readme
@arkitema/datafetching
This package handles data fetching, by communicating loading states or errors to the user. It is composed of the following:
- ApolloTokenProvider: Facilitates token management and authentication in applications utilizing Apollo GraphQL. This component is not presented in a story.
- Loading: Displays loading states while fetching data.
- DataFetchWrapper: Wraps around components that requires data that needs to be fetched, and handles loading and error states accordingly.
Installation
npm install --save @arkitema/errorhandling