mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5792c32e36
Summary: There is a race between PreAllocateMountItems executing and killing off stale SurfaceMountingManagers. For now I'm simplifying the "eviction" mechanism. We just keep up to 15 SurfaceMountingManagers around and start evicting them from the least-recently-referenced one. Hopefully this logic can be simplified in the future. I'm also sneaking in a small perf optimization for PreAllocateMountItem: don't queue them if the associated surface is already stopped, because chewing through a bunch of dead PreAllocateMountItems on the UI thread can be expensive. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D26059378 fbshipit-source-id: 3b2503d7d8e5f045ae741d0d4a5880d1b37758d2
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.