mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-06 22:44:22 +08:00
Summary: @public setFrame:forRootView: wasn't triggering a batch update, which is required to trigger text update. This meant text wasn't re-displayed after a rotate, only after a touch. I also found a bug that meant we weren't caching textStorage as much as we could be. Fixed that too. Test Plan: * Test <Text> example in UIExplorer and ensure it lays out on rotate. * Test <Timers> example and verify text is still updating * Products shouldn't be affected as they have separate text implementation