Create-react-native-app: [question] has anyone successfully integrated bucklescript/reason with CRNA?

Created on 21 Jul 2017  ยท  14Comments  ยท  Source: expo/create-react-native-app

bucklescript.github.io/bucklescript/

https://github.com/reasonml-community/bs-react-native

Most helpful comment

Seems like turning the Adding Flow section into something like "Static Types" and having Flow, BuckleScript, TypeScript (to be written) sections would be reasonable. I'll defer to @brentvatne though as I'm just clearing out GitHub notifications.

All 14 comments

I think I saw tweets from @kenwheeler about doing this.

Yup. Just create a re or src folder and run bsb against it to compile, then import and subsequently export the compiled root in App.js

noice! ๐ŸŽ‰ I will work on converting my application to bucklescript and maybe we could collab @kenwheeler on getting a section in the documentation about integrating bucklescript?

it would be amazing to add this to docs, very welcome

Want me to write it up? Its easy peez.
On Sun, Jul 23, 2017 at 12:59 PM Brent Vatne notifications@github.com
wrote:

it would be amazing to add this to docs, very welcome

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-community/create-react-native-app/issues/322#issuecomment-317266826,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARfmNsjbQtxUt4NWwtK1NB27HmHXbJcks5sQ3vhgaJpZM4OfkfD
.

yes pls @kenwheeler

Yess pls @kenwheeler ๐Ÿ™‡

@brentvatne @dikaiosune under what heading/section would one add that?

Seems like turning the Adding Flow section into something like "Static Types" and having Flow, BuckleScript, TypeScript (to be written) sections would be reasonable. I'll defer to @brentvatne though as I'm just clearing out GitHub notifications.

Wouldn't it be easier to create a react-native-scripts version for Reason? A bit like the version for typescript.

Maybe we can just link to those alternative scripts in the README afterwards so that it doesn't grow out of hand ;)

Would be awesome if something happened, anything would be nice at this point ๐Ÿ‘

Ill do it, give me til monday or so
On Thu, Oct 26, 2017 at 6:41 PM Austin Witherow notifications@github.com
wrote:

Would be awesome if something happened, anything would be nice at this
point ๐Ÿ‘

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-community/create-react-native-app/issues/322#issuecomment-339821497,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARfmH3BjItO_sSJpri2T4M3MzQA_5JGks5swQqXgaJpZM4OfkfD
.

@kenwheeler - this will be awesome, looking forward to playing with reason again to try out the syntax changes with reason3

here ya go: https://github.com/brentvatne/reason-react-native-scripts

let's move all reason / crna discussions there

Was this page helpful?
0 / 5 - 0 ratings