@airglow/plugin-devtools

0.8.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @airglow/plugin-devtools

Weekly Downloads

8

Version

0.8.0

License

Apache-2.0

Unpacked Size

16.6 kB

Total Files

5

Last publish

Collaborators

  • dgrossen
  • amadt5