@@ -8,8 +8,10 @@ _Reason React Native_ is a safe & simple way to build
88[ Reason] ( http://reasonml.github.io/ ) , using
99[ ReasonReact] ( https://reasonml.github.io/reason-react/ ) .
1010
11+ ## Why _ Reason React Native_ ?
12+
1113By leveraging the ReasonML great type system, expressive language features and
12- smooth interoperability with JS (thanks to
14+ smooth interoperability with JavaScript (thanks to
1315[ BuckleScript] ( https://bucklescript.github.io ) ), _ Reason React Native_ provide
1416bindings for React Native features as components & APIs that are:
1517
@@ -21,8 +23,25 @@ It is often said that writing ReactJS code feels like "just using JavaScript".
2123The same applies to _ Reason React_ with _ Reason React Native_ : you will feel
2224like you are "just using Reason".
2325
26+ ## How to use _ Reason React Native_ ?
27+
28+ Like _ ReasonReact_ , _ Reason React Native_ is a ReasonML package that exposes
29+ bindings for React Native.
30+
31+ On your side, you write Reason code that use the ` ReactNative ` module exposed by
32+ ` reason-react-native ` package that you will find on ` npm ` .
33+
34+ BuckleScript will compile this code to safe JavaScript that React Native can
35+ consume like standard JavaScript.
36+
2437![ Introduction] ( /reason-react-native/schemas/introduction.svg )
2538
39+ If you are familiar with Flow or TypeScript, you can see Reason as the next
40+ level of strongly typed JavaScript.
41+
42+ In short, you write safer code that will be compiled to safe JavaScript & end up
43+ with a safer React Native app!
44+
2645## Zero-Cost
2746
2847What is awesome about _ Reason React Native_ bindings is that they don't
0 commit comments