react-native-macos/ReactAndroid
Ramanpreet Nara 281daf1222 Ship bridge RuntimeExecutor JSIExecutor flushing
Summary:
The RuntimeExecutor that Fabric gets from the bridge doesn't call JSIExecutor::flush(). In the legacy NativeModule system, we're supposed to flush the queue of NativeModule calls after every call into JavaScript. The lack of this flushing means that we execute NativeModule calls less frequently with Fabric enabled, and TurboModules disabled. It also means that [the microtask checkpoints we placed inside JSIExecutor::flush()](https://www.internalfb.com/code/fbsource/[62f69606ae81530f7d6f0cba8466ac604934c901]/xplat/js/react-native-github/ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp?lines=427%2C445) won't be executed as frequently, with Fabric enabled.

Changelog: [Android][Fixed] - Flush NativeModule calls with Fabric on Android, on every Native -> JS call.

Reviewed By: JoshuaGross, mdvacca

Differential Revision: D28620982

fbshipit-source-id: ae4d1c16c62b6d4a5089e63104ad97f4ed44c440
2021-06-02 16:54:33 -07:00
..
libs Upgrade Android support library to version 28 in RN 2019-01-22 10:44:53 -08:00
src Ship bridge RuntimeExecutor JSIExecutor flushing 2021-06-02 16:54:33 -07:00
.npmignore Don't publish /ReactAndroid/build to npm, update version on master 2015-10-12 11:11:40 -07:00
Android-prebuilt.mk Implement and integrate Mapbuffer 2021-03-24 03:52:31 -07:00
DevExperience.md Updating the URLs to point at new domain name reactnative.dev 2020-02-24 13:09:11 -08:00
README.md #31386 Fix Readme link to Testing (#31387) 2021-05-04 15:50:02 -07:00
build.gradle remove jcenter (#31609) 2021-06-02 09:57:28 -07:00
gradle.properties Update folly to 2021.04.26.00 in OSS build 2021-05-11 06:03:43 -07:00
proguard-rules.pro Remove Okhttp3 Android Proguard Rules (#30514) 2020-12-17 09:41:17 -08:00
release.gradle cleanup release.gradle (#30468) 2020-12-08 15:56:51 -08: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.