Skip to content

Commit

Permalink
deploy: 7173ceb
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnylqm committed Sep 18, 2024
1 parent 13358a5 commit d510cd4
Show file tree
Hide file tree
Showing 1,320 changed files with 1,275 additions and 1,275 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<script src="//snack.expo.dev/embed.js" defer="defer"></script>
<script src="//cdn.wwads.cn/js/makemoney.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.d5201bd3.css">
<script src="/assets/js/runtime~main.1b62cd63.js" defer="defer"></script>
<script src="/assets/js/runtime~main.b23772e0.js" defer="defer"></script>
<script src="/assets/js/main.7c718f52.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand Down
2 changes: 1 addition & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<script src="//snack.expo.dev/embed.js" defer="defer"></script>
<script src="//cdn.wwads.cn/js/makemoney.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.d5201bd3.css">
<script src="/assets/js/runtime~main.1b62cd63.js" defer="defer"></script>
<script src="/assets/js/runtime~main.b23772e0.js" defer="defer"></script>
<script src="/assets/js/main.7c718f52.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand Down
2 changes: 1 addition & 1 deletion architecture/bundled-hermes.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<script src="//snack.expo.dev/embed.js" defer="defer"></script>
<script src="//cdn.wwads.cn/js/makemoney.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.d5201bd3.css">
<script src="/assets/js/runtime~main.1b62cd63.js" defer="defer"></script>
<script src="/assets/js/runtime~main.b23772e0.js" defer="defer"></script>
<script src="/assets/js/main.7c718f52.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand Down
2 changes: 1 addition & 1 deletion architecture/fabric-renderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<script src="//snack.expo.dev/embed.js" defer="defer"></script>
<script src="//cdn.wwads.cn/js/makemoney.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.d5201bd3.css">
<script src="/assets/js/runtime~main.1b62cd63.js" defer="defer"></script>
<script src="/assets/js/runtime~main.b23772e0.js" defer="defer"></script>
<script src="/assets/js/main.7c718f52.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand Down
4 changes: 2 additions & 2 deletions architecture/glossary.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<script src="//snack.expo.dev/embed.js" defer="defer"></script>
<script src="//cdn.wwads.cn/js/makemoney.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.d5201bd3.css">
<script src="/assets/js/runtime~main.1b62cd63.js" defer="defer"></script>
<script src="/assets/js/runtime~main.b23772e0.js" defer="defer"></script>
<script src="/assets/js/main.7c718f52.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand All @@ -42,7 +42,7 @@ <h2 class="anchor anchorWithStickyNavbar_JmGV" id="react-元素树react-element-
<h2 class="anchor anchorWithStickyNavbar_JmGV" id="react-影子树react-shadow-tree-and-react-shadow-node">React 影子树(React Shadow Tree and React Shadow Node)<a href="#react-影子树react-shadow-tree-and-react-shadow-node" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2>
<p>React 影子树是通过 Fabric 渲染器创建的,树由一系列 React 影子节点组成。一个 React 影子节点是一个对象,代表一个已经挂载的 React 宿主组件,其包含的属性 props 来自 JavaScript。它也包括布局信息,比如坐标系 x、y,宽高 width、height。在新渲染器 Fabric 中,React 影子节点对象只存在于 C++ 中。而在老架构中,它存在于手机运行时的堆栈中,比如 Android 的 JVM。</p>
<h2 class="anchor anchorWithStickyNavbar_JmGV" id="yoga-树以及-yoga-节点">Yoga 树(以及 Yoga 节点)<a href="#yoga-树以及-yoga-节点" class="hash-link" aria-label="标题的直接链接" title="标题的直接链接"></a></h2>
<p>The <em>Yoga Tree</em> is used by <a href="https://yogalayout.com/" target="_blank" rel="noopener noreferrer">Yoga</a> to calculate layout information for a React Shadow Tree. Each React Shadow Node typically creates a <em>Yoga Node</em> because React Native employs Yoga to calculate layout. However, this is not a hard requirement. Fabric can also create React Shadow Nodes that do not use Yoga; the implementation of each React Shadow Node determines how to calculate layout.</p></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col"><a href="https://github.com/reactnativecn/react-native-website/blob/production/cnwebsite/architecture/architecture-glossary.md" target="_blank" rel="noopener noreferrer" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_bHB7" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>改进此文档</a></div><div class="col lastUpdated_ydrU"></div></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="文档分页导航"><a class="pagination-nav__link pagination-nav__link--prev" href="/architecture/bundled-hermes"><div class="pagination-nav__sublabel">上一页</div><div class="pagination-nav__label">捆绑 Hermes 引擎</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_jeP5 thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#fabric-渲染器fabric-renderer" class="table-of-contents__link toc-highlight">Fabric 渲染器(Fabric Renderer)</a></li><li><a href="#宿主平台host-platform" class="table-of-contents__link toc-highlight">宿主平台(Host platform)</a></li><li><a href="#宿主视图树host-view-tree" class="table-of-contents__link toc-highlight">宿主视图树(Host View Tree)</a></li><li><a href="#javascript-interfaces-jsi" class="table-of-contents__link toc-highlight">JavaScript Interfaces (JSI)</a></li><li><a href="#java-native-interface-jni" class="table-of-contents__link toc-highlight">Java Native Interface (JNI)</a></li><li><a href="#react-组件react-component" class="table-of-contents__link toc-highlight">React 组件(React Component)</a></li><li><a href="#react-复合组件react-composite-components" class="table-of-contents__link toc-highlight">React 复合组件(React Composite Components)</a></li><li><a href="#react-宿主组件react-host-components-or-host-components" class="table-of-contents__link toc-highlight">React 宿主组件(React Host Components or Host Components)</a></li><li><a href="#react-元素树react-element-trees" class="table-of-contents__link toc-highlight">React 元素树(React Element Trees)</a></li><li><a href="#react-影子树react-shadow-tree-and-react-shadow-node" class="table-of-contents__link toc-highlight">React 影子树(React Shadow Tree and React Shadow Node)</a></li><li><a href="#yoga-树以及-yoga-节点" class="table-of-contents__link toc-highlight">Yoga 树(以及 Yoga 节点)</a></li></ul><div class="wwads-cn wwads-vertical" data-id="58" style="max-width:227px;margin-top:20px"></div></div></div></div></div></main></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="footer__bottom text--center"><div class="footer__copyright">React Native 中文网 © 2024 武汉青罗网络科技有限公司
<p><em>Yoga 树</em><a href="https://yogalayout.com/" target="_blank" rel="noopener noreferrer">Yoga</a> 使用来计算 React 影子树的布局信息。每个 React 影子节点通常创建一个 <em>Yoga 节点</em>,因为 React Native 使用 Yoga 来计算布局。然而,这不是硬性要求。Fabric 也可以创建不使用 Yoga 的 React 影子节点;每个 React 影子节点的实现决定了如何计算布局。</p></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col"><a href="https://github.com/reactnativecn/react-native-website/blob/production/cnwebsite/architecture/architecture-glossary.md" target="_blank" rel="noopener noreferrer" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_bHB7" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>改进此文档</a></div><div class="col lastUpdated_ydrU"></div></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="文档分页导航"><a class="pagination-nav__link pagination-nav__link--prev" href="/architecture/bundled-hermes"><div class="pagination-nav__sublabel">上一页</div><div class="pagination-nav__label">捆绑 Hermes 引擎</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_jeP5 thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#fabric-渲染器fabric-renderer" class="table-of-contents__link toc-highlight">Fabric 渲染器(Fabric Renderer)</a></li><li><a href="#宿主平台host-platform" class="table-of-contents__link toc-highlight">宿主平台(Host platform)</a></li><li><a href="#宿主视图树host-view-tree" class="table-of-contents__link toc-highlight">宿主视图树(Host View Tree)</a></li><li><a href="#javascript-interfaces-jsi" class="table-of-contents__link toc-highlight">JavaScript Interfaces (JSI)</a></li><li><a href="#java-native-interface-jni" class="table-of-contents__link toc-highlight">Java Native Interface (JNI)</a></li><li><a href="#react-组件react-component" class="table-of-contents__link toc-highlight">React 组件(React Component)</a></li><li><a href="#react-复合组件react-composite-components" class="table-of-contents__link toc-highlight">React 复合组件(React Composite Components)</a></li><li><a href="#react-宿主组件react-host-components-or-host-components" class="table-of-contents__link toc-highlight">React 宿主组件(React Host Components or Host Components)</a></li><li><a href="#react-元素树react-element-trees" class="table-of-contents__link toc-highlight">React 元素树(React Element Trees)</a></li><li><a href="#react-影子树react-shadow-tree-and-react-shadow-node" class="table-of-contents__link toc-highlight">React 影子树(React Shadow Tree and React Shadow Node)</a></li><li><a href="#yoga-树以及-yoga-节点" class="table-of-contents__link toc-highlight">Yoga 树(以及 Yoga 节点)</a></li></ul><div class="wwads-cn wwads-vertical" data-id="58" style="max-width:227px;margin-top:20px"></div></div></div></div></div></main></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="footer__bottom text--center"><div class="footer__copyright">React Native 中文网 © 2024 武汉青罗网络科技有限公司
<a style="margin-left:10px" href="http://beian.miit.gov.cn/">鄂ICP备20002031号-3</a>
<img style="width:25px" src="//img.alicdn.com/tfs/TB1..50QpXXXXX7XpXXXXXXXXXX-40-40.png" alt="鄂公网安备 42011202001821号">
<a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=42011202001821">鄂公网安备 42011202001821号</a>
Expand Down
2 changes: 1 addition & 1 deletion architecture/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<script src="//snack.expo.dev/embed.js" defer="defer"></script>
<script src="//cdn.wwads.cn/js/makemoney.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.d5201bd3.css">
<script src="/assets/js/runtime~main.1b62cd63.js" defer="defer"></script>
<script src="/assets/js/runtime~main.b23772e0.js" defer="defer"></script>
<script src="/assets/js/main.7c718f52.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand Down
2 changes: 1 addition & 1 deletion architecture/render-pipeline.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<script src="//snack.expo.dev/embed.js" defer="defer"></script>
<script src="//cdn.wwads.cn/js/makemoney.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.d5201bd3.css">
<script src="/assets/js/runtime~main.1b62cd63.js" defer="defer"></script>
<script src="/assets/js/runtime~main.b23772e0.js" defer="defer"></script>
<script src="/assets/js/main.7c718f52.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand Down
2 changes: 1 addition & 1 deletion architecture/threading-model.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<script src="//snack.expo.dev/embed.js" defer="defer"></script>
<script src="//cdn.wwads.cn/js/makemoney.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.d5201bd3.css">
<script src="/assets/js/runtime~main.1b62cd63.js" defer="defer"></script>
<script src="/assets/js/runtime~main.b23772e0.js" defer="defer"></script>
<script src="/assets/js/main.7c718f52.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand Down
2 changes: 1 addition & 1 deletion architecture/view-flattening.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<script src="//snack.expo.dev/embed.js" defer="defer"></script>
<script src="//cdn.wwads.cn/js/makemoney.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.d5201bd3.css">
<script src="/assets/js/runtime~main.1b62cd63.js" defer="defer"></script>
<script src="/assets/js/runtime~main.b23772e0.js" defer="defer"></script>
<script src="/assets/js/main.7c718f52.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand Down
2 changes: 1 addition & 1 deletion architecture/xplat-implementation.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<script src="//snack.expo.dev/embed.js" defer="defer"></script>
<script src="//cdn.wwads.cn/js/makemoney.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.d5201bd3.css">
<script src="/assets/js/runtime~main.1b62cd63.js" defer="defer"></script>
<script src="/assets/js/runtime~main.b23772e0.js" defer="defer"></script>
<script src="/assets/js/main.7c718f52.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand Down
Loading

0 comments on commit d510cd4

Please sign in to comment.