Deploy website

Deploy website version based on a2c2216089627f330c9fe39d78e4cc768bb26e18
This commit is contained in:
Website Deployment Script
2019-10-15 19:13:56 +00:00
parent aa129c0a2a
commit 4021b56a30
5210 changed files with 17948 additions and 17266 deletions
+1 -1
View File
@@ -69,7 +69,7 @@
}
});
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/react-native-website/blob/master/docs/platform-specific-code.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Platform Specific Code</h1></header><article><div><span><p>When building a cross-platform app, you'll want to re-use as much code as possible. Scenarios may arise where it makes sense for the code to be different, for example you may want to implement separate visual components for iOS and Android.</p>
<p>React Native provides two ways to easily organize your code and separate it by platform:</p>
<p>React Native provides two ways to organize your code and separate it by platform:</p>
<ul>
<li>Using the <a href="/react-native/docs/platform-specific-code#platform-module"><code>Platform</code> module</a>.</li>
<li>Using <a href="/react-native/docs/platform-specific-code#platform-specific-extensions">platform-specific file extensions</a>.</li>