Skip to content

Commit 9b4c6f6

Browse files
committed
add breadcrumb back to guides and convert codegen to unix file
1 parent bf6d89d commit 9b4c6f6

15 files changed

+317
-287
lines changed

docs/appendix.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Appendix
24

35
## I. Terminology

docs/backwards-compat-fabric-component.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Fabric Components as Legacy Native Components
24

35
> [!Note]

docs/backwards-compat-turbo-modules.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Turbo Modules as Legacy Native Modules
24

35
> [!Note]

docs/backwards-compat.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Backwards Compatibility
24

35
Creating a backward compatible module is important to provide a library that works in both the **Old Architecture** and the **New Architecture**. Not all the users of your library will immediately jump on the New Architecture ship: it is a good thing that they will be able to use your library even if they are still using the old architecture.

docs/codegen.md

+289-287
Large diffs are not rendered by default.

docs/cxx-custom-types.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Supporting Custom C++ Types
24

35
By default C++ Turbo Native Modules support [bridging functionality](https://github.com/facebook/react-native/tree/main/packages/react-native/ReactCommon/react/bridging) for most `std::` standard types.

docs/enable-apps.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Enable the New Architecture for Apps
24

35
This page will help you create or migrate a React Native app that uses the New Architecture.

docs/enable-libraries-android.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Enable the New Architecture for Libraries: Android
24

35
Once you have defined the JavaScript specs for your native modules as part of the [prerequisites](./enable-libraries-prerequisites.md), set up the configuration of the Codegen, and follow the Android/Gradle setup, you are now ready to migrate your library to the new architecture. Here are the steps you can follow to accomplish this.

docs/enable-libraries-ios.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Enable the New Architecture for Libraries: iOS
24

35
You have defined the JavaScript specs for your native modules as part of the [prerequisites](./enable-libraries-prerequisites.md), and you are now ready to migrate your library to the New Architecture. Here are the steps you can follow to accomplish this.

docs/enable-libraries-prerequisites.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Enable the New Architecture for Libraries: Prerequisites
24

35
The following steps are prerequisites to ensure your modules and components are ready for the New Architecture.

docs/fabric-native-components.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Fabric Native Components
24

35
A Fabric Native Component is a Native Component rendered on the screen using the [Fabric Renderer](https://reactnative.dev/architecture/fabric-renderer). Using Fabric Native Components instead of Legacy Native Components allows us to reap all the of the **New Architecture**:

docs/react-18.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# React 18 & React Native
24

35
This page describes how to use React 18 with React Native using the React Native's New Architecture.

docs/troubleshooting.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Troubleshooting
24

35
This page contains resolutions to common problem you might face when migrating to the New Architecture.

docs/turbo-modules-xplat.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Cross-Platform Turbo Native Modules with C++
24

35
This guide shows you how to implement a Turbo Native Module using C++ only, a way to share the same implementation with any supported platform (Android, iOS, macOS or Windows).

docs/turbo-modules.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[../README.md#Guides](../README.md#guides)
2+
13
# Turbo Native Modules
24

35
If you've worked with React Native, you may be familiar with the concept of [Native Modules](https://reactnative.dev/docs/native-modules-intro), which allow JavaScript and platform-native code to communicate over the React Native "bridge", which handles cross-platform serialization via JSON.

0 commit comments

Comments
 (0)