This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-03-26
Channels
- # announcements (6)
- # beginners (51)
- # cider (3)
- # cljsrn (9)
- # clojure (4)
- # clojure-argentina (1)
- # clojure-houston (2)
- # clojure-italy (5)
- # clojure-nl (1)
- # clojure-spec (14)
- # clojurescript (17)
- # community-development (2)
- # cursive (53)
- # datomic (69)
- # fulcro (5)
- # graphql (15)
- # immutant (6)
- # jobs (2)
- # kaocha (1)
- # leiningen (15)
- # lumo (5)
- # midje (1)
- # nrepl (6)
- # off-topic (119)
- # pathom (11)
- # tools-deps (5)
Hello
Is possible to get my app.js
from a external HTTP in my rn app, then i can do simple updates without wait the app stores?
It is; Microsoft has a service called CodePush that does this: https://microsoft.github.io/code-push/
(I have no idea how you’re supposed to navigate their weird soup of product names at this point)
So I assume you can set up your own service to host and push that code
New to CLJS/React Native with re-frame. Confused by there being 2 copies of core.cljs - 1 for Android and another for iOS. I thought this was a write-once framework?
@clojer Instead of "write once, run anywhere," React Native calls it "learn once, write anywhere". Having said that, for relatively simple apps, you can indeed "write once."
@clojer the split is just a re-natal thing. If you just run the react native CLI you’ll get a single App.js file. It’s just an artifact of that specific framework, not a limitation of react native itself
My hobby app is still simple enough to be “write once”. It is quite amazing seeing the app being updated on my phone, the ios simulator and the android emulator at once, when I make changes to the code. There are some layout differences at times, especially when it comes to rendering text, but that is, so far, quite easy to deal with.