bcherny / undux

⚡️ Dead simple state for React. Now with Hooks support.
https://undux.org
MIT License
1.49k stars 31 forks source link

withReduxDevtools not working after upgrade #70

Closed DeanKamali closed 5 years ago

DeanKamali commented 5 years ago

After undux upgrade, I'm unable to get withReduxDevtools plugin to work, there is my config.

import { createConnectedStore, withReduxDevtools } from "undux";

let initialState = {
  one: 0,
  two: 0
}
let { withStore, Container } = createConnectedStore(
  initialState,
  withReduxDevtools
)

export default createConnectedStore(initialState, withReduxDevtools);
bcherny commented 5 years ago

Hey there @DeanKamali! Could you give some more context?

And here's a working example: https://stackblitz.com/edit/react-ts-vtmgnb

bcherny commented 5 years ago

Closing for inactivity. @DeanKamali feel free to reopen with a more specific repro case.