Closed krzysztofpniak closed 8 years ago
This should work independent of using view(). Context is not to be passed down. thats why it exists.
@namjul is right, basically you just need to define contextTypes
and should be passing that automatically.
How can I access React 'context'? https://facebook.github.io/react/docs/context.html I'm trying to implement form library that is compatible with redux-elm and I would like to pass form name down to fields. I know it's not the best solutions, but at the moment I don't see any other options. Anyways, I realized that I cannot access react context inside components wrapped by view(). I took a look on the source code and it looks that you are not passing second parameter, and it seems to be the origin of my problem.