Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to integrate flocks with react-router? #66

Open
anyong opened this issue Apr 28, 2015 · 2 comments
Open

How to integrate flocks with react-router? #66

anyong opened this issue Apr 28, 2015 · 2 comments

Comments

@anyong
Copy link

anyong commented Apr 28, 2015

Here's a broken gist. Lines 6-8 on Master.jsx throw this uncaught error:

Uncaught Error: Invariant Violation: ReactCompositeComponent.getChildContext(): key "router" is not defined in childContextTypes.invariant @ invariant.js:42 (stacktrace).

Removing them propagates another error further down, line 7 of the TestComponent throws: this.fctx undefined.

@StoneCypher
Copy link
Owner

ok, i sorted out how to do this today

will file instructions and examples over the next couple days

sorry it took me so long to get around to this

@StoneCypher
Copy link
Owner

i think i might actually have a small rewrite coming up to make flocks easier to use with native and router and so on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants