Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 696 Bytes

README.md

File metadata and controls

31 lines (17 loc) · 696 Bytes

Getting Started with the React Loading Component

React Loading Component is a reusable React component for loading data from APIs with built-in error handling, loading indicators, and retry functionality.

Installation

To use React Loading Component in your React project, install it via NPM:

  1. Install the dependencies

npm install

  1. Set up the development environment variable
  • on Windows Powershell: $env: REACT_APP_ENVIRONMENT='development'
  • on mac: export REACT_APP_ENVIRONMENT=development
  1. Run the application

npm start

To Test

npm run test

License

React Loading Component is released under the MIT License.