mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-30 17:33:21 +08:00
Summary:Motivation: After second navigation event in UIExplorer, content in main page always stayed the same. Fix: For second and future navigation events use stack.index to retrieve state from stack.children. Closes https://github.com/facebook/react-native/pull/6312 Differential Revision: D3018119 Pulled By: andreicoman11 fb-gh-sync-id: 4c502c42a0cb7b240e558515fb8fd766d6e1f856 shipit-source-id: 4c502c42a0cb7b240e558515fb8fd766d6e1f856