fable-compiler / fable-react-native

Fable bindings and helpers for React Native projects
Apache License 2.0
49 stars 11 forks source link

Please add details about how to use the bindings #56

Closed mohan-win closed 4 years ago

mohan-win commented 4 years ago

Is it possible for someone to help me to understand how to use this bindings and build a react native app on iOS and on Android ?

MangelMaxime commented 4 years ago

Hello, did you try to take a look at https://github.com/SAFE-Stack/SAFE-Nightwatch.

The is a demo project, which is "ready" to use. So in theory you could just clone the repo and clean the unwanted code and start working on your application.

mohan-win commented 4 years ago

@MangelMaxime, thanks for the response. SAFE-Nightwatch is failing to build on MAC. Since I'm new to Fable + React native, it would be of great help if we have a more detail about how to use the bindings. I've opened an issue for MAC build failure here, https://github.com/SAFE-Stack/SAFE-Nightwatch/issues/75

forki commented 4 years ago

@tforkmann didn't you get it to compile on Mac? Does it still compile?

mohandev notifications@github.com schrieb am Fr., 14. Feb. 2020, 02:47:

@MangelMaxime https://github.com/MangelMaxime, thanks for the response. SAFE-Nightwatch is failing to build on MAC. Since I'm new to Fable + React native, it would be of great help if we have a more detail about how to use the bindings. I've opened an issue for MAC build failure here, SAFE-Stack/SAFE-Nightwatch#75 https://github.com/SAFE-Stack/SAFE-Nightwatch/issues/75

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fable-compiler/fable-react-native/issues/56?email_source=notifications&email_token=AAAOANDJC5TKU6YLMGTA2CTRCXZ4PA5CNFSM4KUVVYW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELXITRI#issuecomment-586058181, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAOANHLCCUL3VC42KU3S3TRCXZ4PANCNFSM4KUVVYWQ .

tforkmann commented 4 years ago

Will try tonight. Don’t have a Mac at work

mohan-win commented 4 years ago

@forki, @tforkmann, It was a yarn version issue. Once I switched back to yarn 1.x, it is working nicely.. Thanks for your help...

MangelMaxime commented 4 years ago

@mohandev

I agree having more documentation would be nice. Unfortunately I don't use fable-react-native (only answer people questions ^^) so I can't do it myself.

Please feel free, to send a PR to try filling the gap if you have the time and the desire to help a bit :)

mohan-win commented 4 years ago

Sure thing @MangelMaxime, I've just started learning. Once I've experienced with Fable + React Native bit more, I will create this documentation.

mohan-win commented 4 years ago

@MangelMaxime, Please take a look at this github project https://github.com/martinmoec/fable-react-native-how-to. This has a simple step by step instructions to set up Fable with React Native. May be we can add a pointer to this github project so that people can easily find it ?

forki commented 4 years ago

Sure please link it from the Readme. I'll merge the PR.

mohandev notifications@github.com schrieb am Do., 12. März 2020, 07:23:

Reopened #56 https://github.com/fable-compiler/fable-react-native/issues/56.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fable-compiler/fable-react-native/issues/56#event-3121550144, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAOANCR4CGVC2S6WO2GU2LRHB5X3ANCNFSM4KUVVYWQ .

mohan-win commented 4 years ago

Done! https://github.com/fable-compiler/fable-react-native/pull/58

forki commented 4 years ago

Thanks