This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-15
Channels
- # admin-announcements (3)
- # architecture (2)
- # beginners (54)
- # boot (85)
- # braveandtrue (8)
- # cider (21)
- # cljs-dev (56)
- # cljs-site (5)
- # cljsjs (15)
- # cljsrn (9)
- # clojars (4)
- # clojure (99)
- # clojure-austin (1)
- # clojure-russia (36)
- # clojure-spec (53)
- # clojure-uk (29)
- # clojurescript (161)
- # datomic (8)
- # hoplon (3)
- # immutant (48)
- # jobs (1)
- # jobs-rus (1)
- # leiningen (10)
- # om (23)
- # om-next (1)
- # onyx (22)
- # parinfer (3)
- # planck (13)
- # protorepl (8)
- # re-frame (46)
- # reagent (2)
- # remote-jobs (1)
- # respo (1)
- # specter (5)
- # testing (12)
- # untangled (50)
- # yada (13)
The React Native site has a section about how to add React Native views to native apps: https://facebook.github.io/react-native/docs/integration-with-existing-apps.html Is it possible to do this with ClojureScript without too much hassle? Re-natal and boot-react-native are nice, but it's not obvious to me how to use them inside an existing app.
@tord: I’m migrating existing app from native ObjC code to RN + CLJS. It’s not that difficult although requires some work. It could be that at the end you can use re-natal as it will just generate js bundle, you put it in your app and it doesn’t matter if RNRootView initialised from the start or as a subview on some later stage
Do you have some specific questions? Feel free to ask
No, no specific questions yet. Honestly I was too lazy to try to look into it without confirmation that it can be done. I'll see if I can figure out how to do it, and return with specific questions later. Thanks!
Hmm, now that I have transitioned to boot-react-native
I was hoping for better runtime errors. But all I get is this:
I know the error is probably from reagent's adapt-react-class
but it would have been nice to see from where it was called...
Mm, I love this is «find me if you can» error 😄