React-loading was initially developed to use in SatViewer project. But was brought as a standalone package to npm.
The package purpose is to make managing loading state for async api requests a breeze.
- Full Typescript support out of the box
- Very small dependency
- No intention to reinvent the wheel
- React hooks
- React Context API
You can install this package from the npm repository by using one of the following commands:
npm install react-loading
yarn add react-loading
How to use