react2angular icon indicating copy to clipboard operation
react2angular copied to clipboard

How to provide redux store store?

Open s-v-d opened this issue 5 years ago • 2 comments

<Provider store={store}><Router>...</Router></Provider>

How to provide store using this npm module? My routing is angularjs.

s-v-d avatar Jun 05 '20 06:06 s-v-d

You can pass in $ngRedux as the store:

react2angular(MyComponent, undefined, ['$ngRedux'])
...
<Provider store={this.props.$ngRedux}>
...

intricatecloud avatar Jun 23 '20 17:06 intricatecloud

You can pass in $ngRedux as the store:

react2angular(MyComponent, undefined, ['$ngRedux'])
...
<Provider store={this.props.$ngRedux}>
...

do we have any working example?

CodeguruEdison avatar Aug 13 '20 16:08 CodeguruEdison