mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-02 22:41:18 +08:00
Summary: `contentSize` was removed from both iOS and Android, tests was updated. USE `onContentSizeChange` INSTEAD. Why? * It always was a hack; * We already have dedicated event for it: `onContentSizeChange`; * `onChange` has nothing to do with layout actually; * We have to maintain `onChange` handler as fast and simple as possible, this feature complicates it a lot; * It was undocumented feature; * We already have native auto-expandable <TextInput>, so it illuminates 99% current use cases of this feature. Reviewed By: mmmulani Differential Revision: D4989881 fbshipit-source-id: 674bb98c89ada1fca7b3b20b304736b2a3b8304e
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.