peter-mach / react-navigation-is-focused-hoc

Ready to use solution using HOC to expose props.isFocused for react-navigation. No Redux needed.
MIT License
169 stars 21 forks source link

removed screenName for unique route key. ScreenName is no longer nece… #8

Closed patlux closed 6 years ago

patlux commented 7 years ago

The second paremeter of withNavigationFocus is no longer necessary.

withNavigationFocus(component, screenName)

=>

withNavigationFocus(component)

Fix #7