-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request