@airglow/plugin-devtools

Load React and Redux Devtools in Airglow.

Usage no npm install needed!

<script type="module">
  import airglowPluginDevtools from 'https://cdn.skypack.dev/@airglow/plugin-devtools';
</script>

README

Airglow-DevTools Plugin

An plugin that adds the Redux DevTools UI to your application.

Usage

Simply add the plugin when you are setting up your Airglow instance:

import devtoolPlugin from '@airglow/plugin-devtools';

const App = () => (
  <Airglow plugins={{
    devtoolPlugin({ reduxBrowser: true })
  }}>
    <AppContainer />
  </Airglow>
);

Options

By default, no tools are enabled. You'll have to pass in which tools you want.

reduxDevtools

Enables reduxDevtools in the page. This will add a new component into your DOM. Note, this option is not recomended with Inferno since it conflicts with infernos devtool implementation at the momment.

reduxBrowser

Enables the browser devtools plugin for redux.