Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move Fabric warning to partial, use admonition #2998

Merged
merged 1 commit into from
Mar 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/_fabric-warning.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:::caution

This document refers to the architecture of the new renderer, [Fabric](fabric-renderer), that is in active roll-out.

:::
4 changes: 3 additions & 1 deletion docs/render-pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ id: render-pipeline
title: Render, Commit, and Mount
---

> This document refers to the architecture of the new renderer, [Fabric](fabric-renderer), that is in active roll-out.
import FabricWarning from './\_fabric-warning.mdx';

<FabricWarning />

The React Native renderer goes through a sequence of work to render React logic to a [host platform](architecture-glossary#host-platform). This sequence of work is called the render pipeline and occurs for initial renders and updates to the UI state. This document goes over the render pipeline and how it differs in those scenarios.

Expand Down
4 changes: 3 additions & 1 deletion docs/threading-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ id: threading-model
title: Threading Model
---

> This document refers to the architecture of the new renderer, [Fabric](fabric-renderer), that is in active roll-out.
import FabricWarning from './\_fabric-warning.mdx';

<FabricWarning />

#### The React Native renderer distributes the work of the [render pipeline](render-pipeline) across multiple threads.

Expand Down
4 changes: 3 additions & 1 deletion docs/view-flattening.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ id: view-flattening
title: View Flattening
---

> This document refers to the architecture of the new renderer, [Fabric](fabric-renderer), that is in active roll-out.
import FabricWarning from './\_fabric-warning.mdx';

<FabricWarning />

#### View Flattening is an optimization by the React Native renderer to avoid deep layout trees.

Expand Down
4 changes: 3 additions & 1 deletion docs/xplat-implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ id: xplat-implementation
title: Cross Platform Implementation
---

> This document refers to the architecture of the new renderer, [Fabric](fabric-renderer), that is in active roll-out.
import FabricWarning from './\_fabric-warning.mdx';

<FabricWarning />

#### The React Native renderer utilizes a core render implementation to be shared across platforms

Expand Down