mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-29 22:41:56 +08:00
Summary: This adds a new SceneView with a shouldComponentUpdate policy of only re-rendering when the scene's state changes. This allows avoidance of extra re-renders. Results in a much smoother back-swipe gesture because we no longer re-render scenes as we transition from gesture to animation. Reviewed By: hedgerwang Differential Revision: D3219545 fb-gh-sync-id: 7c04e0e4ebb40d1e57ef7af11e2e54adf4f52aa0 fbshipit-source-id: 7c04e0e4ebb40d1e57ef7af11e2e54adf4f52aa0