Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrozbarry/react-wait-for-it
A promise-ful component that waits to load something.
https://github.com/mrozbarry/react-wait-for-it
Last synced: 27 days ago
JSON representation
A promise-ful component that waits to load something.
- Host: GitHub
- URL: https://github.com/mrozbarry/react-wait-for-it
- Owner: mrozbarry
- Created: 2018-02-08T20:21:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-02-08T21:00:50.000Z (over 6 years ago)
- Last Synced: 2024-09-23T11:16:49.464Z (about 2 months ago)
- Language: JavaScript
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WaitForIt
A promise-ful component that waits to load something
## Get it
```
yarn add react-wait-for-it
# or
npm install --save react-wait-for-it
```## Use it
```javascript
import WaitForIt from 'react-wait-for-it';const MyApp = (props) => (
r.json())}
render={data => }
/>
)
```## Play with it
```
yarn start
```[localhost:8080](http://localhost:8080)
## Test it
```
yarn test
```