Describe your feature request
When using react-navigation, it's sometimes nice to be able to define navOptions in the screen using static navigationOptions = {...}. other HOCs like connect, use hoist-non-react-statics so wrapped components can still work in the above case
Context
See above. There are def. workarounds, but it took a while to figure out what was going on, so I would suggest that it's simpler to just make it work than to try to explain it in a Readme :-)
Proposed solution
Use hoist-non-react-statics https://github.com/mridgway/hoist-non-react-statics
Will try for a PR as soon as I have time
Describe your feature request
When using react-navigation, it's sometimes nice to be able to define navOptions in the screen using
static navigationOptions = {...}. other HOCs like connect, usehoist-non-react-staticsso wrapped components can still work in the above caseContext
See above. There are def. workarounds, but it took a while to figure out what was going on, so I would suggest that it's simpler to just make it work than to try to explain it in a Readme :-)
Proposed solution
Use hoist-non-react-statics https://github.com/mridgway/hoist-non-react-statics
Will try for a PR as soon as I have time