RNNewArchitectureLibraries icon indicating copy to clipboard operation
RNNewArchitectureLibraries copied to clipboard

A collection of sample React Native Libraries that will show you how to use the New Architecture (Fabric & TurboModules) step-by-step.

React Native New Architecture Library Samples

This repo contains several branches that will help you understand how to setup your libraries for the React Native New Architecture. This should considered as a support material of the official migration guide.

Here you will find runs of the migration guide on empty projects. Every commit is documented and allows to follow over on every step.

Please find a list of the branches below, with more information on which kind of setup they're addressing.

Branches

Branch Name Description Android iOS
feat/back-turbomodule This branch contains the step-by-step process to create a simple TurboModule which can be used in both the old and the new architecture
feat/back-fabric-comp This branch contains the step-by-step process to create a simple Fabric Component which can be used in both the old and the new architecture
feat/back-turbomodule-070 This branch contains the step-by-step process to create a simple TurboModule which can be used in both the old and the New Architecture, targeting React Native 0.70
feat/back-fabric-component-070 This branch contains the step-by-step process to create a simple Fabric Component which can be used in both the old and the New Architecture, targeting React Native 0.70