A promise-ful component that waits to load something
yarn add react-wait-for-it
# or
npm install --save react-wait-for-it
import WaitForIt from 'react-wait-for-it';
const MyApp = (props) => (
<WaitForIt
promise={fetch('https://jsonplaceholder.typicode.com/users').then(r => r.json())}
render={data => <Users users={data} />}
/>
)
yarn start
yarn test