react-navigation / web

Tools for react-navigation on web browsers and servers
https://reactnavigation.org
MIT License
94 stars 28 forks source link

feat: `onNavigationStateChange` props for createBrowserApp #15

Closed chunghe closed 5 years ago

chunghe commented 5 years ago

This PR allows createBrowserApp handle onNavigationStateChange props, described here https://reactnavigation.org/docs/en/screen-tracking.html

@ericvicenti really appreciate to have to take a look at this PR, thanks!

ericvicenti commented 5 years ago

This was done here, and the implementation is a bit more true to the behavior of the native app container: https://github.com/react-navigation/react-navigation-web/pull/24