Back to React Native Windows

Development Note

vnext/Microsoft.ReactNative.Cxx/README.md

0.61-stable2.0 KB
Original Source

Development Note

Important

In order to make REACT_MODULE cross-platform, some C++ source files need to be shared between react-native-windows repo and react-native-macos repo.

Whenever:

  • new files need to be shared

Please add this comment as in other files:

C++
// IMPORTANT: Before updating this file
// please read react-native-windows repo:
// vnext/Microsoft.ReactNative.Cxx/README.md

Whenever:

  • files are added to the following folders
  • listed files are edited

You are required to create a pull request in react-native-macos to prove that your change is compatible with macOS by doing:

Affected Files

  • vnext\Microsoft.ReactNative.Cxx
    • StructInfo.h
    • JSValue.h
    • JSValue.cpp
    • JSValueTreeReader.h
    • JSValueTreeReader.cpp
    • JSValueTreeWriter.h
    • JSValueTreeWriter.cpp
    • JSValueReader.h
    • JSValueWriter.h
    • ModuleRegistration.h
    • ModuleRegistration.cpp
    • ReactPropertyBag.h
    • ReactHandleHelper.h
    • ReactNonAbiValue.h
    • ReactDispatcher.h
    • ReactNotificationService.h
    • ReactContext.h
    • ReactError.h
    • ReactPromise.h
    • ReactPromise.cpp
    • NativeModules.h
  • vnext\Microsoft.ReactNative
    • JsiReader.h
    • JsiReader.cpp
    • JsiWriter.h
    • JsiWriter.cpp
    • TurboModulesProvider.h
    • TurboModulesProvider.cpp
  • vnext\Shared
    • TurboModuleRegistry