Closed chirag04 closed 7 years ago
withNavigation right now sets a ref on wrappedComponent which can be a stateless function. This causes a warning in react 16. This PR adds a withRef option to withNavigation. This is a breaking change but i doubt anyone is using this.
cc @skevy @brentvatne @janicduplessis
withNavigation right now sets a ref on wrappedComponent which can be a stateless function. This causes a warning in react 16. This PR adds a withRef option to withNavigation. This is a breaking change but i doubt anyone is using this.