didierfranc / didierfranc/react-waterfall
redux-devtools return no store found - 4.0.0-beta.4
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
Hi I passed the example code to react native and works wonderful but redux-devtools doesn't work.
On the documentation you said *During development redux-devtools are automatically enabled. Install the extension.* what's mean automatically enabled? maybe I missed something...
Here is my code:
*store.js*
```
import createStore from 'react-waterfall'
const config = {
initialState: { count: 0 },
actionsCreators: {
increment: ({ count }) => ({ count: count + 1 }),
},
}
export const { Provider, connect, actions } = createStore(config)
```
*App.js*
```
import React from 'react';
import {Button, Text, View} from 'react-native';
import { connect, Provider, actions } from './store'
let Count = ({ count }) => {count}
Count = connect(({ count }) => ({ count }))(Count)
export default class App extends React.PureComponent {
render() {
return (
actions.increment()}/>
);
}
}
```

Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.