Components created by the HOC do not contain the original component's static properties
janis-kra opened this issue · comments
Janis Krasemann commented
This is particularly annoying for users of react-navigation, where the header is configured via static properties.
One workaround is to split the component in question into two: Component A that just defines the header, and another component B that handles state via fleux and is rendered via component A's render
function