DevTools
React Async comes with a separate DevTools package which helps you Debug and develop your asynchronous application states. You can install it from npm:
1
npm install --save react-async-devtools
Copied!
Or if you're using Yarn:
1
yarn add react-async-devtools
Copied!
Then simply import it and render the<DevTools /> component at the root of your app:
1
import DevTools from "react-async-devtools"
2
3
export const Root = () => (
4
<>
5
<DevTools />
6
<App />
7
</>
8
)
Copied!
Last modified 2yr ago
Copy link