Integration with Redux DevTools

Reactive is out-of-the-box compatible with Redux DevTools.

TIP

To enable DevTools, make sure you have installed the Redux DevTools browser extension. Full options can be found in the documentation of Redux DevTools.

You can import devtools from @shined/reactive and enable it as follows:

1import { create, devtools } from '@shined/reactive'
2
3const store = create({ count: 1 })
4
5devtools(store, { name: 'awesome-store', enable: true }) // Initialize the store and enable devtools