infinitered / infinitered/reactotron

createEnhancer() is not a function

Open
#1,180 5 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.6k
Forks
972
PR merge metrics
No merged PRs in 30d

Description

I have this issue...
TypeError: _reactotronReactNative.default.createEnhancer is not a function. (In '_reactotronReactNative.default.createEnhancer()', '_reactotronReactNative.default.createEnhancer' is undefined)

"reactotron-react-native": "3.6.5",
"reactotron-redux": "3.1.2",

My code:
`
```
import {
createStore,
combineReducers
} from 'redux';
import Reactotron from 'reactotron-react-native';
import reducer from './reducers/RootReducer';

const mainReducer = combineReducers({
root: reducer,
});

export default () => createStore(mainReducer, Reactotron.createEnhancer());
```

`
Does someone have any suggestions? Thanks!

Contributor guide

Open the contributing guide

Research direction

Start with the shown store setup and compare the exports and compatibility of reactotron-react-native 3.6.5 and reactotron-redux 3.1.2. Reproduce the createEnhancer() error and confirm a compatible Redux integration that makes the enhancer available.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, redux
Domain
devtools, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.