aksonov / react-native-router-flux

The first declarative React Native router
MIT License
8.99k stars 2.11k forks source link

Redux + ImmutableJS support? #3314

Open ddolheguy opened 5 years ago

ddolheguy commented 5 years ago

Hi All,

I'm trying to follow the Redux example on this package and as I also have ImmutableJS installed it's not working (I get the error router is not a function).

Does anyone have an example of how to implement the redux reducer when the combineReducers comes from redux-immutable npm package?

I know it has to do with wrapping / unwrapping the state for the reducer but I cannot work it out.

daviscabral commented 5 years ago

hi there - I am back today. I am checking this and hoping to get back to you in a few hours with some answer. Sorry about the delay.

ddolheguy commented 5 years ago

Hugely appreciate it. It took a go myself but couldn't work it out. Was hoping someone was able to get it working with ImmutableJS.

koalex commented 5 years ago

Any updates ? I would also like to see an example of implementation with Redux + Immutable.js

mahyar33 commented 5 years ago

I have the same problem and I receive this error

image