Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ReasonML et React Native

ReasonML et React Native

Un peu de pratique pour voir comment utiliser React Native via ReasonML et les différences avec l'utilisation via JavaScript.

- http://reasonml.github.io
- https://bucklescript.github.io
- https://reasonml.github.io/reason-react/
- https://reasonml-community.github.io/reason-react-native/

Maxime Thirouin

June 18, 2019
Tweet

More Decks by Maxime Thirouin

Other Decks in Programming

Transcript

  1. @MoOx 2 https://moox.io/ @MoOx Maxime Thirouin • PostCSS • cssnext

    • Phenomic • … Known for its contributions to… putaindecode.io
  2. @MoOx 5 add(1, 1); // 2 add(1, "1"); // "11"

    add(1, null); // 1 add(1, undefined); // NaN JS
  3. @MoOx 12 Creator of React Jordan Walke wrote the first

    React prototype in SML & ReasonML Ocaml friend
  4. @MoOx Zero-cost 23 bs-react-native View vs reason-react-native View bs-react-native Style

    vs reason-react-native Style bs-react-native Platform vs reason-react-native Platform reason-react-native
  5. @MoOx Wanna try? 24 npm install -g react-native-cli react-native init

    MyApp --template reason Cd MyApp yarn add bs-platform --dev react-native run-ios reason-react-native