Using React Devtools
Sometimes you might not be able to use the React Devtools browser extension, e.g. when developing content inside an iframe.
For this case we support using the standalone React Devtools via the
react-devtools
NPM-package. To use it, first install it as a dev dependency of your project:
- Yarn
- NPM
yarn add react-devtools -D
npm install react-devtools -D
Now you can pass the -d
(or --devtools
) option to the chayns-toolkit dev
command. It then starts the React Devtools window, which will connect to your
application once it has loaded in the browser.