flummox icon indicating copy to clipboard operation
flummox copied to clipboard

unable to make flummox work with react-router 1.0.0-beta3

Open agile116 opened this issue 10 years ago • 2 comments

Any example to work with react-router 1.0.0-beta3? Thanks.

agile116 avatar Jul 10 '15 08:07 agile116

+1

it seems I should use createElement on the Router to wrap the FluxComponent but I'm getting PropTypes warnings from my components, as if they are mounted before FluxComponent gives them props

edit: using the render method in FluxComponent seems to solve this

Adeher avatar Sep 15 '15 09:09 Adeher

@Adeher can you give a code sample of how you're wrapping React Router 1 with FluxComponent? Or @agile116 did you ever get this working another way?

I'm trying to shift to 1.0rc3 and I'd rather not also make the shift to Reflux in one fell swoop. I'll get there later. :)

kjs3 avatar Oct 21 '15 14:10 kjs3