not working with import { syncHistoryWithStore } from 'react-router-redux';

Open
#35 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, react-native
Domain
mobile

Research direction

Start by reproducing the import and syncHistoryWithStore call with the listed react-router-native, react-router, and react-native versions. Investigate why the imported function is not callable; done means the synced history can be passed to Router without the reported error.

Written by the indexing model from the issue text.

Description

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);

Actual Behavior

It makes Error ~ Not Callable Module..

Without -- const history = syncHistoryWithStore(nativeHistory, store); --
<Router history={nativeHistory } addressBar>
It is working~~

Steps to Reproduce
Dominant language
JavaScript
Stars
636
Forks
37
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jmurzy/react-router-native

All issues in jmurzy/react-router-native

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.