Skip to content

Commit

Permalink
move Fabric warning to partial, use admonition (#2998)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek authored Mar 10, 2022
1 parent 3d587b8 commit ea72662
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
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

0 comments on commit ea72662

Please sign in to comment.