Skip to content

Use redux-devtools without React in your app.

License

Notifications You must be signed in to change notification settings

egoist/redux-devtools-script

Repository files navigation

Redux Devtools Script

WARN! This only works with redux-devtools@^2.1.5, later versions requires to ship with React.

Using Redux DevTools without React in your App!

Usage

Just follow redux-devtools guide but do not mount anything into your dom tree using React but reference a script:

<!-- your app -->
<div id="app"></div>
<!-- your bundle -->
<script src="/build/bundle.js"></script>
<!-- use this to mount panel into dom tree -->
<script src="https://unpkg.com/redux-devtools-script"></script>

Remember to expose your Redux store to window Object

import store from './store'
window.ReduxStore = store

And it's done! Check out the Vue example!

License

MIT © EGOIST

About

Use redux-devtools without React in your app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published