flocks.js icon indicating copy to clipboard operation
flocks.js copied to clipboard

How to integrate flocks with react-router?

Open anyong opened this issue 9 years ago • 2 comments

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.

anyong avatar Apr 28 '15 06:04 anyong

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 avatar Jul 07 '15 18:07 StoneCypher

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

StoneCypher avatar Jul 07 '15 18:07 StoneCypher