reactotron: [V2] Reactotron-Redux Integration Problems
Doing a new installation using the V2 beta and having troubles getting the Redux integration working. Using:
"reactotron-react-native": "2.0.0-beta.10",
"reactotron-redux": "2.0.0-beta.10",
"reactotron-redux-saga": "2.0.0-beta.10",
[Entry point]
import "../services/reactotron/reactotron-config"
import Reactotron from "reactotron-react-native"
const store = Reactotron.createStore(rootReducer)
And my config is set up with the plugin.
Getting the following error though: “message”: “undefined is not a function (evaluating ‘a(b.apply(undefined, arguments))’)”, and before that seeing a failure of: null is not an object (evaluating ‘reduxStore.getState’) – presuming this is from the plugin.
When I use just redux the implementation works just fine. Anyone have any ideas?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 21 (12 by maintainers)
Commits related to this issue
- fix #727, handle the no enhancer situation if enhancer is not provided by customer, then the this plugin cause crash. for example: ``` import rootReducer from './reducer' import Reactotron from... — committed to njleonzhang/reactotron by njleonzhang 6 years ago
- chore(deps): update dependency rollup to v2.53.2 (#727) Co-authored-by: Renovate Bot <bot@renovateapp.com> — committed to infinitered/reactotron by renovate[bot] 3 years ago
- chore(deps): update dependency @types/node to v14.17.4 (#727) Co-authored-by: Renovate Bot <bot@renovateapp.com> — committed to infinitered/reactotron by renovate[bot] 3 years ago
- chore(deps): update dependency @types/node to v12.20.2 (#727) Co-authored-by: Renovate Bot <bot@renovateapp.com> — committed to infinitered/reactotron by renovate[bot] 3 years ago
- chore(deps): update dependency rollup to v2.51.0 (#727) Co-authored-by: Renovate Bot <bot@renovateapp.com> — committed to infinitered/reactotron by renovate[bot] 3 years ago
@adrienthiery there is a bug in the source code. I have created PR to fix it. https://github.com/infinitered/reactotron/pull/878
@adrienthiery things doesn’t change, even I put all the code in one file.
the crash happened in redux,
compose.jsHi there,
I was setting that up today and encountered the same issue.
It seems to me that it is because the
use Reactotron's createStorestatement is misleading, 'cause it pushes you to do :when it expects you to use the result of the
ReactotronConfig.js:I proposed to clarify the docs : https://github.com/infinitered/reactotron/pull/773
Docs updated by @adrienthiery cuz he’s awesome. ❤️
Commented out the saga plugin until I get the redux plugin working first.
It almost feels like Reactotron.createStore is being called before reactotron is setup. Can you show whats in
reactotron-config?