Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 2.5 KB

README.md

File metadata and controls

18 lines (14 loc) · 2.5 KB

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
feat/component-with-state This branch contains a step-by-step guide to create a Fabric Component in TypeScript with Custom Native State for the New Architecture, targeting a nightly of React Native 0.71
feat/turbomodule-swift A step-by-step guide to create a TM with the logic written in Swift, based on RN 0.71 N/A
feat/swift-event-emitter A step-by-step guide to create a TM in Swift that leverage the Event Emitters, based on RN 0.71 N/A