-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathindex.html
More file actions
21 lines (18 loc) · 16.6 KB
/
index.html
File metadata and controls
21 lines (18 loc) · 16.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html>
<html lang="en" dir="ltr" class="plugin-pages plugin-id-default">
<head>
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v2.4.0">
<title data-rh="true">Hello from ReScript React Native | ReScript React Native</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://rescript-react-native.github.io/"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="Hello from ReScript React Native | ReScript React Native"><meta data-rh="true" name="description" content="Description will go into a meta tag in <head />"><meta data-rh="true" property="og:description" content="Description will go into a meta tag in <head />"><link data-rh="true" rel="icon" href="/favicon.ico"><link data-rh="true" rel="canonical" href="https://rescript-react-native.github.io/"><link data-rh="true" rel="alternate" href="https://rescript-react-native.github.io/" hreflang="en"><link data-rh="true" rel="alternate" href="https://rescript-react-native.github.io/" hreflang="x-default"><link data-rh="true" rel="preconnect" href="https://W7CN8UK6UO-dsn.algolia.net" crossorigin="anonymous"><script data-rh="true">function maybeInsertBanner(){window.__DOCUSAURUS_INSERT_BASEURL_BANNER&&insertBanner()}function insertBanner(){var n=document.getElementById("docusaurus-base-url-issue-banner-container");if(n){n.innerHTML='\n<div id="docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">/</span> (default value)</p>\n <p>We suggest trying baseUrl = <span id="docusaurus-base-url-issue-banner-suggestion-container" style="font-weight: bold; color: green;"></span></p>\n</div>\n';var e=document.getElementById("docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname,r="/"===s.substr(-1)?s:s+"/";e.innerHTML=r}}window.__DOCUSAURUS_INSERT_BASEURL_BANNER=!0,document.addEventListener("DOMContentLoaded",maybeInsertBanner)</script><link rel="alternate" type="application/rss+xml" href="/blog/rss.xml" title="ReScript React Native RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml" title="ReScript React Native Atom Feed">
<link rel="search" type="application/opensearchdescription+xml" title="ReScript React Native" href="/opensearch.xml"><link rel="stylesheet" href="/assets/css/styles.38fd7656.css">
<link rel="preload" href="/assets/js/runtime~main.a0e5966b.js" as="script">
<link rel="preload" href="/assets/js/main.366fde84.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}return t}()||function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div id="docusaurus-base-url-issue-banner-container"></div><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top navbar--dark"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/ReScriptReactNative.svg" alt="ReScript React Native Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="/ReScriptReactNative.svg" alt="ReScript React Native Logo" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate">ReScript React Native</b></a><a class="navbar__item navbar__link" href="/docs/">Docs</a><a class="navbar__item navbar__link" href="/docs/components">Components</a><a class="navbar__item navbar__link" href="/docs/apis">APIs</a></div><div class="navbar__items navbar__items--right"><a class="navbar__item navbar__link" href="/blog">Blog</a><a href="https://github.com/rescript-react-native" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS darkNavbarColorModeToggle_X3D1" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="searchBox_ZlJk"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"></span></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><header class="hero hero--primary heroBanner_UJJx"><div class="container"><h1 class="hero__title">ReScript React Native</h1><p class="hero__subtitle">The safest way to build React Native apps</p><div class="buttons_pzbO"><a class="button button--outline button--secondary button--lg" href="/docs/">Get Started</a></div><div class="logoBackground_iEgH"><svg viewBox="0 0 512 457" xmlns="http://www.w3.org/2000/svg" width="150%" height="150%" style="fill:#fff"><path d="M384 6.64c31.14 17.978 38.265 69.408 23.85 134.032C471.023 160.5 512 192.386 512 228.342c0 35.957-40.976 67.842-104.15 87.67 14.417 64.624 7.291 116.053-23.847 134.031-31.14 17.98-79.242-1.564-128.002-46.361-48.76 44.797-96.862 64.341-128.001 46.363-31.14-17.978-38.265-69.408-23.85-134.032C40.977 296.185 0 264.299 0 228.343c0-35.957 40.976-67.842 104.15-87.67C89.732 76.049 96.857 24.62 127.996 6.642 159.137-11.338 207.24 8.206 256 53.003 304.759 8.206 352.86-11.338 384 6.64ZM120.706 320.796c-13.038 55.759-8.428 99 16.461 113.37 24.89 14.37 64.644-3.258 106.413-42.43-16.509-16.59-32.935-35.958-48.644-57.625-26.62-2.771-51.606-7.313-74.23-13.315Zm270.59 0c-22.624 6.002-47.61 10.544-74.23 13.314-15.71 21.668-32.135 41.035-48.644 57.626 41.77 39.17 81.523 56.8 106.413 42.429 24.89-14.37 29.499-57.611 16.46-113.369Zm-98.23 15.298A602.412 602.412 0 0 1 256 337.227a602.36 602.36 0 0 1-37.065-1.133c12.2 16.078 24.666 30.64 37.066 43.418 12.4-12.778 24.865-27.34 37.065-43.418ZM256 137.793c-17.531 0-34.619.723-51.07 2.095-9.413 13.56-18.583 27.997-27.349 43.18-8.765 15.182-16.683 30.343-23.72 45.275 7.037 14.933 14.955 30.093 23.721 45.275 8.766 15.183 17.936 29.62 27.35 43.179 16.45 1.372 33.537 2.095 51.068 2.095s34.619-.723 51.07-2.095c9.413-13.56 18.583-27.997 27.349-43.18 8.765-15.182 16.683-30.342 23.72-45.275-7.037-14.933-14.955-30.093-23.721-45.275-8.766-15.183-17.936-29.62-27.35-43.179-16.45-1.372-33.537-2.095-51.068-2.095ZM144.15 250.119c-7.823 18.605-14.202 36.681-19.068 53.809 17.267 4.35 36.111 7.864 56.136 10.39a602.413 602.413 0 0 1-19.514-31.532 602.413 602.413 0 0 1-17.553-32.667Zm223.7-.002a602.412 602.412 0 0 1-17.553 32.668 602.413 602.413 0 0 1-19.514 31.534c20.025-2.527 38.87-6.041 56.136-10.391-4.866-17.129-11.245-35.205-19.07-53.81Zm-259.566-92.715c-54.806 16.588-89.949 42.2-89.949 70.94 0 28.74 35.143 54.354 89.95 70.941 6.114-22.592 14.674-46.501 25.584-70.94-10.91-24.438-19.47-48.348-25.585-70.941Zm295.43 0c-6.113 22.593-14.673 46.501-25.583 70.94 10.91 24.438 19.47 48.348 25.585 70.941 54.806-16.588 89.949-42.2 89.949-70.94 0-28.74-35.143-54.354-89.95-70.941ZM257.688 184.36c25.315 0 45.837 20.522 45.837 45.837 0 25.315-20.522 45.838-45.837 45.838-25.315 0-45.838-20.523-45.838-45.838s20.523-45.837 45.838-45.837Zm-3.228 22.057H245c-2.668.008-4.13.069-5.265.62a5.93 5.93 0 0 0-2.627 2.517c-.65 1.227-.65 2.841-.65 6.072v28.513c.002 2.448.02 3.728.455 4.737.608 1.406 1.775 2.523 3.243 3.106.964.38 2.165.428 4.318.434l.642.001h1.33c2.162-.007 3.35-.054 4.314-.435 1.468-.583 2.635-1.7 3.244-3.106.414-.963.45-2.173.453-4.41v-.668l.002-37.381Zm18 0c-5.523 0-10 4.477-10 10s4.477 10 10 10h.013a9.993 9.993 0 0 0 9.987-10l-.004-.28c-.148-5.393-4.567-9.72-9.996-9.72Zm-91.243-64.052c-20.025 2.527-38.87 6.041-56.136 10.392 4.866 17.128 11.245 35.204 19.07 53.81a602.411 602.411 0 0 1 17.552-32.668 602.413 602.413 0 0 1 19.514-31.534Zm149.565 0a602.413 602.413 0 0 1 19.514 31.533 602.41 602.41 0 0 1 17.553 32.668c7.824-18.606 14.203-36.682 19.069-53.81-17.267-4.35-36.111-7.864-56.136-10.39ZM268.42 64.95c16.509 16.59 32.935 35.958 48.644 57.626 26.62 2.77 51.606 7.312 74.23 13.314 13.038-55.759 8.428-99-16.461-113.37-24.89-14.37-64.644 3.258-106.413 42.43ZM137.165 22.52c-24.89 14.37-29.499 57.611-16.46 113.369 22.623-6.002 47.61-10.544 74.23-13.314 15.709-21.668 32.134-41.035 48.643-57.626-41.77-39.17-81.523-56.8-106.413-42.429Zm118.834 54.653c-12.4 12.778-24.865 27.34-37.065 43.418A602.412 602.412 0 0 1 256 119.458c12.588 0 24.964.386 37.065 1.133-12.2-16.078-24.666-30.64-37.066-43.418Z" fill="#fff"></path></svg></div></div></header><main><section class="features_keug"><div class="container"><div class="row"><div class="col col--4"><div class="text--center"><img class="featureImage_yA8i" src="/home/react-native-and-more.svg" alt="React Native Core & More"></div><h3>React Native Core & More</h3><p>ReScript React Native cover the core of React Native, and lots of community modules, including React Navigation and most famous libraries.</p></div><div class="col col--4"><div class="text--center"><img class="featureImage_yA8i" src="/home/rescript.svg" alt="Zero-cost bindings"></div><h3>Zero-cost bindings</h3><p>ReScript help us to produce code that directly hit React Native modules without any additional indirection. The bindings don't take the risk to introduce unecessary bugs.</p></div><div class="col col--4"><div class="text--center"><img class="featureImage_yA8i" src="/home/safe.svg" alt="Safe and sound"></div><h3>Safe and sound</h3><p>ReScript React Native allows you to avoid most of React red screens during development. Your code is secured before it runs thanks to ReScript compiler.</p></div></div></div></section></main></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Docs</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/docs/">Getting Started</a></li><li class="footer__item"><a class="footer__link-item" href="/docs/components">Components</a></li><li class="footer__item"><a class="footer__link-item" href="/docs/apis">APIs</a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://github.com/rescript-react-native/rescript-react-native/discussions" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub Discussions<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://stackoverflow.com/questions/tagged/rescript-react-native" target="_blank" rel="noopener noreferrer" class="footer__link-item">StackOverflow<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://forum.rescript-lang.org" target="_blank" rel="noopener noreferrer" class="footer__link-item">ReScript Forum<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://rescript-lang.org" target="_blank" rel="noopener noreferrer" class="footer__link-item">ReScript Documentation<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a class="footer__link-item" href="/blog">Blog</a></li><li class="footer__item"><a href="https://github.com/rescript-react-native" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://github.com/rescript-react-native/rescript-react-native.github.io" target="_blank" rel="noopener noreferrer" class="footer__link-item">Wesbite Source<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">© 2023 ReScript React Native</div></div></div></footer></div>
<script src="/assets/js/runtime~main.a0e5966b.js"></script>
<script src="/assets/js/main.366fde84.js"></script>
</body>
</html>