This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-15
Channels
- # aatree (23)
- # admin-announcements (13)
- # announcements (3)
- # beginners (49)
- # boot (50)
- # braid-chat (1)
- # braveandtrue (37)
- # cider (72)
- # cljs-dev (25)
- # cljsjs (6)
- # cljsrn (37)
- # clojure (78)
- # clojure-berlin (8)
- # clojure-greece (1)
- # clojure-ireland (2)
- # clojure-madison (14)
- # clojure-new-zealand (2)
- # clojure-poland (10)
- # clojure-russia (149)
- # clojured (2)
- # clojurescript (49)
- # community-development (6)
- # core-async (37)
- # cursive (1)
- # data-science (1)
- # datomic (30)
- # emacs (4)
- # euroclojure (1)
- # funcool (1)
- # graclj (1)
- # hoplon (17)
- # jobs (2)
- # jobs-rus (45)
- # ldnclj (6)
- # mount (12)
- # off-topic (124)
- # om (270)
- # onyx (131)
- # parinfer (70)
- # perun (2)
- # proton (168)
- # re-frame (32)
- # reagent (29)
- # ring-swagger (8)
- # testing (9)
- # yada (39)
@seantempesta: Not sure if it's the same, but I saw smth like this when chrome tries to download source maps. Packager can not just serve them from fs. So, if you need source maps you can patch your local packager with re-natal enable-source-maps
(this is not done by default anymore), or you can disable source maps from project.clj
@drapanjanas: Ah perfect. Thanks.
I'm running https://github.com/alwx/luno-react-native, and did all the steps to launch figwheel from android from here - https://github.com/drapanjanas/re-natal
and well deployed android app on the phone says 'unable to download js bundle from the dev server' and something about 8081
question: who is going to occupy 8081 - and it's going to happen on my local machine, not the phone, right? - is it lein figwheel android?
@leov: 8081 is listened by React Native packager
it quits after react-native run-android finish compilation and running the activity on the phone
react-native run-android
should return command line, but should also spawn a packager
are you on windows or linux?
ok. it works. linux / ubuntu 15.10 / android sdk 23.0.1 (and some others, not sure which one it picked)
yeah, on linux for some reason you have to run manually packager, it is also mentioned in readme
np its hidden down below
yeah alwx did a great job
no clue, have not used that, yet
re-natal template is only for react-native apps? I should adapt it if I want to also have a web page, right?
re-natal is only for apps, there is another template for apps and web https://github.com/artemyarulin/ktoa
np, have fun!
here's a puzzler... using re-natal, how would a component refer to its own properties (i.e. this.props
)? for a specific example, see the ios navigator in luno: https://github.com/alwx/luno-react-native/blob/master/src/luno/ios/core.cljs
the normal reagent way or passing a map to a component and calling reagent.core/props
doesn't seem to be the way, partly because of how the component is configured via the :initial-route
and reactify-component
.
btw the property I'm after is the routes which is used for navigating to other views etc.