react-native/ReactAndroid
Andrew Chen (Eng) 95174d4ea8 Avoid view manager class loads
Summary:
We are currently iterating through each view manager to get its class name to pass to JS. JS uses this list to define lazy property accesses for each view manager to grab the constants synchronously. This results in each view manager's class loading immediately -- causing a small perf hit.

Let's avoid this view managers list entirely. JS is able to access each view manager directly by calling getConstantsForViewManager(name)

Reviewed By: TheSavior

Differential Revision: D9930713

fbshipit-source-id: 4aa013f8398d4f51b7eef07937d2977ba1950726
2018-09-27 16:03:24 -07:00
..
libs Bump Android Support Library to 27.1.1 (#20586) 2018-08-20 18:08:52 -07:00
src Avoid view manager class loads 2018-09-27 16:03:24 -07:00
.npmignore Don't publish /ReactAndroid/build to npm, update version on master 2015-10-12 11:11:40 -07:00
DevExperience.md CHORE - Remove Trailing Spaces 2016-04-06 09:21:53 -07:00
README.md Fixing link to Android build guide. 2018-05-27 15:17:55 -07:00
build.gradle add x86_64 arm64-v8a support. Fixes #2814 (#18754) 2018-09-24 11:32:56 -07:00
gradle.properties Consolidate native dependencies versions (#20742) 2018-09-13 15:49:00 -07:00
proguard-rules.pro Remove TextLayoutBuilder from ReactAndroid dependency (#20600) 2018-08-22 13:48:53 -07:00
release.gradle Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00

README.md

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.