mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
10d80b8a78
Summary: I know StyleSheet.create doesn’t do anything special on react-native yet but it does on react-native-web and possibly other targets. This small change is mainly so react-native-web don’t need to keep making this change on their code base when updating the rn version. ## Changelog [Internal] [Changed] - Move inline static styles at VirtualizedList to StyleSheet.create Pull Request resolved: https://github.com/facebook/react-native/pull/25501 Test Plan: It’s basically the same code, just moved. Also it’s the same change that it’s on react-native-web project: https://github.com/necolas/react-native-web/blob/45f94eb43daa3cb3d7fae0295877345a176c04c4/packages/react-native-web/src/vendor/react-native/VirtualizedList/index.js#L1650-L1654 Differential Revision: D16130700 Pulled By: cpojer fbshipit-source-id: 20639e2e1a795ff4819c16af15569bf12759a62c