react-router-native
react-router-native copied to clipboard
not working with import { syncHistoryWithStore } from 'react-router-redux';
This project contains components that are currently under active development and considered experimental. If it is something you can debug and fix, please consider submitting a pull request instead!
Version
Dependency | Version |
---|---|
react-router-native | ^2.0.0-alpha.2 |
react-router | 3.0.0-alpha.1 |
react-native | 0.31.0 |
Expected Behavior
import { Route, StackRoute, TabsRoute, Router, nativeHistory } from 'react-router-native'; import { syncHistoryWithStore } from 'react-router-redux'; const store = configureStore(); const history = syncHistoryWithStore(nativeHistory, store); <Router history={history} addressBar>
Actual Behavior
It makes Error ~ Not Callable Module..
Without -- const history = syncHistoryWithStore(nativeHistory, store); -- <Router history={nativeHistory } addressBar> It is working~~