Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
22 lines (18 loc) · 16.5 KB
/
Copy pathindex.html
File metadata and controls
22 lines (18 loc) · 16.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<html lang="en" dir="ltr" class="plugin-pages plugin-id-default" data-has-hydrated="false">
<head>
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v3.10.2">
<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" property="og:locale" content="en"><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 insertBanner(){var n=document.createElement("div");n.id="__docusaurus-base-url-issue-banner-container";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',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname,o="/"===s.substr(-1)?s:s+"/";e.textContent=o}document.addEventListener("DOMContentLoaded",function(){void 0===window.docusaurus&&insertBanner()})</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.ed63b808.css">
<script src="/assets/js/runtime~main.9aedee04.js" defer="defer"></script>
<script src="/assets/js/main.14ec0da4.js" defer="defer"></script>
</head>
<body>
<svg style="display: none;"><defs>
<symbol id="theme-svg-external-link" viewBox="0 0 24 24"><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"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||"light"),document.documentElement.setAttribute("data-theme-choice",t||"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><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="theme-layout-navbar navbar navbar--fixed-top navbar--dark"><div class="navbar__inner"><div class="theme-layout-navbar-left 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="themedComponent_mlkZ themedComponent--light_NVdE"><img src="/ReScriptReactNative.svg" alt="ReScript React Native Logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"></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="theme-layout-navbar-right 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-label="(opens in new tab)" class="iconExternalLink_nPIU"><use href="#theme-svg-external-link"></use></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS darkNavbarColorModeToggle_X3D1" type="button" disabled="" title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" class="toggleIcon_g3eP 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" aria-hidden="true" class="toggleIcon_g3eP 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><svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill="currentColor" d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"></path></svg></button></div><div class="navbarSearchContainer_Bca1"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search (Meta+k)" aria-keyshortcuts="Meta+k"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="8" stroke="currentColor" fill="none" stroke-width="1.4"></circle><path d="m21 21-4.3-4.3" stroke="currentColor" fill="none" 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="theme-layout-main 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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 457" width="150%" height="150%" style="fill:#fff"><path fill="#fff" d="M384 6.64c31.14 17.978 38.265 69.408 23.85 134.032C471.023 160.5 512 192.386 512 228.342s-40.976 67.842-104.15 87.67c14.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.363s-38.265-69.408-23.85-134.032C40.977 296.185 0 264.299 0 228.343s40.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.64M120.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.315m270.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.429s29.499-57.611 16.46-113.369m-98.23 15.298A602 602 0 0 1 256 337.227a602 602 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.418M256 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.095M144.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 602 0 0 1-19.514-31.532 602 602 0 0 1-17.553-32.667m223.7-.002a602 602 0 0 1-17.553 32.668 602 602 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.81m-259.566-92.715c-54.806 16.588-89.949 42.2-89.949 70.94s35.143 54.354 89.95 70.941c6.114-22.592 14.674-46.501 25.584-70.94-10.91-24.438-19.47-48.348-25.585-70.941m295.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.94s-35.143-54.354-89.95-70.941M257.688 184.36c25.315 0 45.837 20.522 45.837 45.837s-20.522 45.838-45.837 45.838-45.838-20.523-45.838-45.838 20.523-45.837 45.838-45.837m-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-.668zm18 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.72m-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 602 0 0 1 17.552-32.668 602 602 0 0 1 19.514-31.534m149.565 0a602 602 0 0 1 19.514 31.533 602 602 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.39M268.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.43M137.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.429m118.834 54.653c-12.4 12.778-24.865 27.34-37.065 43.418A602 602 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.418"></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="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column 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="theme-layout-footer-column 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-label="(opens in new tab)" class="iconExternalLink_nPIU"><use href="#theme-svg-external-link"></use></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-label="(opens in new tab)" class="iconExternalLink_nPIU"><use href="#theme-svg-external-link"></use></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-label="(opens in new tab)" class="iconExternalLink_nPIU"><use href="#theme-svg-external-link"></use></svg></a></li></ul></div><div class="theme-layout-footer-column 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-label="(opens in new tab)" class="iconExternalLink_nPIU"><use href="#theme-svg-external-link"></use></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-label="(opens in new tab)" class="iconExternalLink_nPIU"><use href="#theme-svg-external-link"></use></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-label="(opens in new tab)" class="iconExternalLink_nPIU"><use href="#theme-svg-external-link"></use></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">© 2026 ReScript React Native</div></div></div></footer></div>
</body>
</html>