This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-05
Channels
- # admin-announcements (1)
- # beginners (17)
- # boot (5)
- # cljs-dev (50)
- # cljsrn (20)
- # clojars (8)
- # clojure (108)
- # clojure-belgium (1)
- # clojure-brasil (1)
- # clojure-greece (6)
- # clojure-japan (1)
- # clojure-russia (12)
- # clojure-spec (77)
- # clojurescript (19)
- # core-async (2)
- # cursive (4)
- # datomic (12)
- # dirac (6)
- # funcool (3)
- # hoplon (39)
- # lein-figwheel (14)
- # om (12)
- # onyx (3)
- # other-languages (1)
- # protorepl (14)
- # pure-frame (2)
- # re-frame (39)
- # reagent (1)
- # spirituality-ethics (3)
- # yada (7)
Already did the patching with re-natal enable-source-maps
, but still only JS code is displayed
Anybody encountered this? https://github.com/facebook/react-native/issues/5934
May I asked a dumb question: I just started with re-natal, and generate template using Rum. src
folder has android
and ios
subfolders, with completely same core.cljs
inside - why?
so you may develop two versions of your app - android and ios independently and (optionally) create and use some shared code. UI layer is likely would be different
I guess it will make more sense for beginners -> you may use same code for both platforms, and add some platform-specific code if needed
You are not the first one with this question 🙂 it’s up to @drapanjanas, I remember we were discussing it some time ago, but don’t remember what was a result
I guess original assumption was that developer shares quiet a small part of code between platforms, but it turns out that usually about 70% is shared
well I’m not actually that confident with re-natal, so I may be wrong
@rmuslimov: I think this is because first time you could do only for one platform) beginners doesn’t do it for both at once)
oh actually it makes a lot of sense
well I guess once you know the basics - it would’n be a big deal to change program structure and share a lot
oh - another reason that RN itself generate project in the same way - index.ios.js and index.android.js
Not a reason I mean, but re-natal just do the similar
@rmuslimov: another reason was ease of experimentation. You can just try out platform-specific components right threre in one place and you can change whole ui code for the platform. Of course, when you get familiar with all the things and want to build real app you do it whe way best for you.
@drapanjanas: and thanks for this awesome project you created it took just half of hour to get everything working!