flocks.js
flocks.js copied to clipboard
How to integrate flocks with react-router?
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.
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
i think i might actually have a small rewrite coming up to make flocks easier to use with native and router and so on