react-native/Libraries/NavigationExperimental
Hedger Wang f7279b4074 Remove `key` from `NavigationState`.
Summary:
NavigationState is composed of many things such as `index`, `routes`.
The only way to effectively compare navigation states is to assume their immutability
and simply compare their references.

That said, `navigationState.key` does not really serves anything useful. The key does
not make a navigation state more unique or comparable.

This diff makes  `navigationState.key` irrelevant thus we could make NavigationState
simpler.

Reviewed By: ericvicenti

Differential Revision: D3351915

fbshipit-source-id: 75d5fa432d2a693f999a91b11e3bff1fdd42e61d
2016-05-26 18:13:23 -07:00
..
Reducer Fix NavigationTransitioner. 2016-05-25 11:28:21 -07:00
__mocks__ Clean up APIs. 2016-03-04 14:57:31 -08:00
__tests__ Rename `navigationState.children` to `navigationState.routes`. 2016-05-22 16:28:27 -07:00
NavigationAbstractPanResponder.js Simplify <NavigationCard />. 2016-03-15 15:59:26 -07:00
NavigationAnimatedView.js explicit type args in react-native-github 2016-05-24 18:28:26 -07:00
NavigationExperimental.js Fork NavigationAnimatedView to NavigationTransitioner 2016-05-18 13:43:31 -07:00
NavigationPropTypes.js Remove `key` from `NavigationState`. 2016-05-26 18:13:23 -07:00
NavigationStateUtils.js Remove `key` from `NavigationState`. 2016-05-26 18:13:23 -07:00
NavigationTransitioner.js Fix NavigationTransitioner. 2016-05-25 11:28:21 -07:00
NavigationTypeDefinition.js Remove `key` from `NavigationState`. 2016-05-26 18:13:23 -07:00