@dotto.x/redux-devtools
v0.4.1
Published
Plugin for usage dotto.x with redux-devtools
Downloads
18
Readme
dotto.redux-devtools is a plugin for usage dotto.x with redux-devtools
Install
Using npm
npm i @dotto.x/redux-devtools
Using yarn
yarn add @dotto.x/redux-devtools
Connect your stores
Single store
import { createStore } from 'dotto.x'
import { reduxDevtools } from '@dotto.x/redux-devtools'
let someStore = createStore({ some: 'value' })
reduxDevtools({ someStore })
Multiple stores
import { createAtom, createStore } from 'dotto.x'
import { reduxDevtools } from '@dotto.x/redux-devtools'
let someStore = createStore({ some: 'value' })
let someAnotherStore = createStore({ some: 'value' })
let someAtomic = createAtom({ some: 'value' })
reduxDevtools({ someStore, someAnotherStore, someAtomic })