react-native/Libraries/CustomComponents/Navigator
Adrien Brault 7fdabd8f14 Navigator: emit didFocus after routeStack reset
Summary:Hi,

I am using https://github.com/aksonov/react-native-router-flux / https://github.com/exponentjs/ex-navigator and I needed a way to update my redux store with the current route.

I'm using the navigation context to do this:

```javascript
if (navigationContext) {
  const handler = () => {
    updateCurrentRouteState(navigationContext.currentRoute);
  };
  navigationContext.addListener('willfocus', handler);
  navigationContext.addListener('didfocus', handler);
}
```

However, when the whole stack is replaced, no event is emitted. This PR aims to fix that.
Closes https://github.com/facebook/react-native/pull/5596

Differential Revision: D3080004

Pulled By: ericvicenti

fb-gh-sync-id: 0ef4ecebec7076275b6433c80aae6102cf28c039
shipit-source-id: 0ef4ecebec7076275b6433c80aae6102cf28c039
2016-03-21 19:18:53 -07:00
..
Navigation nested emit call in a queue should be handled in FIFO 2016-03-03 18:57:52 -08:00
Navigator.js Navigator: emit didFocus after routeStack reset 2016-03-21 19:18:53 -07:00
NavigatorBreadcrumbNavigationBar.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
NavigatorBreadcrumbNavigationBarStyles.android.js Export per-platform NavigatorNavigationBarStyles for consistent styling 2015-10-10 15:32:46 -07:00
NavigatorBreadcrumbNavigationBarStyles.ios.js fix navigator lint warnings 2015-11-30 19:31:30 -08:00
NavigatorNavigationBar.js immediatelyResetRouteStack does not update Navigator's title 2015-12-15 15:40:27 -08:00
NavigatorNavigationBarStylesAndroid.js Export per-platform NavigatorNavigationBarStyles for consistent styling 2015-10-10 15:32:46 -07:00
NavigatorNavigationBarStylesIOS.js Fix Navigator.NavigationBar Title interactivity 2015-12-15 12:02:27 -08:00
NavigatorSceneConfigs.js FloatFromLeft scene configuration fixed. HorizontalSwipeJumpFromRight… 2015-12-16 15:08:44 -08:00