Skip to content

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

License

Notifications You must be signed in to change notification settings

react-native-community/RNNewArchitectureLibraries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published