Giter Site home page Giter Site logo

mtnptrsn / reason-react-native Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rescript-react-native/rescript-react-native

0.0 1.0 0.0 4.46 MB

Write your React Native apps with Reason

Home Page: http://reasonml-community.github.io/reason-react-native

License: MIT License

OCaml 93.58% JavaScript 6.42%

reason-react-native's Introduction

๐ŸŽŸ Reason Conf US is happening October 7-8th in Chicago ๐ŸŽ‰

Buy tickets or sponsor the event by visiting https://www.reason-conf.us


Reason bindings for React Native

Build Status Version Chat

BuckleScript bindings for React Native allows to use ReasonML with ReasonReact to make your iOS, Android and Web apps.

Getting Started

Check our getting started guide for details.

Documentation

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

Contribute

Read the contribution guidelines before contributing.

Changelog

Check the changelog for more informations about recent releases.

Code of Conduct

We want this community to be friendly and respectful to each other. Please read the full text so that you can understand what actions will and will not be tolerated.


๐Ÿšจ Usage from Git repo

If you use things unreleased from the git repo, you will need to link all folders (packages) that you need at the root of node_modules. The easiest way is to create the symlink you need in your package.json prepare step:

First add this repo as a dep

yarn add https://github.com/reasonml-community/reason-react-native

Next, add this cross-platform symlink tool

yarn add --dev symlink-dir

Then add to you package.json

{
  "scripts": {
    "reason-react-native-monorepo-trick": "symlink-dir ./node_modules/reason-react-native-monorepo/reason-react-native node_modules/reason-react-native && symlink-dir ./node_modules/reason-react-native-monorepo/bs-react-native-jsx3-compat node_modules/bs-react-native-jsx3-compat",
    "prepare": "yarn reason-react-native-monorepo-trick"
  }
}

โš ๏ธ In the example above, we only linked reason-react-native and bs-react-native-jsx3-compat. Be sure to link all the package you have in your bsconfig.json that need to be used from git.

๐Ÿ‘€ If you find a trick more easy to read/maintain (and still cross-platform), please share it with us via Discord, an issue, or a PR!

reason-react-native's People

Contributors

alliannas avatar arnarthor avatar bjornj12 avatar chenglou avatar cknitt avatar czystyl avatar dependabot[bot] avatar fakenickels avatar fhammerschmidt avatar grabbou avatar gunnigylfa avatar jamieparkinson avatar johannth avatar kristinns avatar mcanobbiotr avatar medson10 avatar mobily avatar moox avatar nhducit avatar rikkiabb avatar saschatimme avatar sgny avatar szymonzmyslony avatar tonyhb avatar trancever avatar ulrikstrid avatar vnovick avatar wokalski avatar zamotany avatar zploskey avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.