This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (40)
- # beginners (6)
- # boot (69)
- # braid-chat (43)
- # business (3)
- # cljsrn (99)
- # clojure (51)
- # clojure-art (2)
- # clojure-brasil (2)
- # clojure-dev (23)
- # clojure-portugal (1)
- # clojure-russia (15)
- # clojurescript (52)
- # community-development (319)
- # core-async (1)
- # cursive (40)
- # datomic (6)
- # editors (11)
- # emacs (1)
- # hoplon (20)
- # jobs (1)
- # ldnclj (5)
- # leiningen (2)
- # mount (5)
- # off-topic (1)
- # om (45)
- # proton (5)
- # re-frame (29)
- # reagent (4)
- # ring-swagger (1)
- # yada (6)
But I think I’ll stick with re-frame and reagent for now. om next made me loose too many hear 😛 Just want to get this app out finally
Hi all, finally figured out how to join. Thanks @mfikes for the link to inviter. It was not obvious to me
Yeah! Everybody is here now I guess But still the question about presenting CLJS + RN is open
Btw, I have noticed if you log a warn to console in RN application (non cljs) the warning appears on simulator screen. I think this could be emplyed to show messages of heads-up-display of figwheel. Current figwheel integration only works with disabled heads-up-display, so compilation errors are invisible.
Hey, I successfully integrated
react-native-vector-icons into my cljsrn app ! @artemyarulin what’s the address of the cljsrn-cookbook again 😛 ?
>[drapanjanas] I'm too afraid of such responsibility, and I am lazy, and and and exactly my thoughts
@wei: Well, react native allows making HTTP requests using XmlHTTPRequest and fetch API
Here if you need some wrapper around fetch api https://github.com/artemyarulin/koh/blob/master/src/koh/http.cljs#L47-L59
hm. Yeah - I assume clj-http using XmlHTTPRequest under the hood and RN have their own implementation for that, maybe something doesn’t follow the browser spec in 100%, dunno
then you can see all the output in the xcode debug log (don’t know how to make it without xcode, Console app maybe?) and for android you may want to run adb command like, sec
what are you guys thinking at? in general rn on clojure or some om / reagent flavor in particular?
I was thinking a general rundown — state of tech / progress / challenges - areas where help is needed. You can only do so much in 30-40 minutes.
Short demo of live reload running android + ios + browser would also be interesting - but people have seen videos of that - like @artemyarulin posted.
I want to ask more about debugging stuff @wei @artemyarulin et. al, mostly, 1) how to trace unexpected exceptions to CLJS code? assuming I am using figwheel for dev. 2) Is it possible to do any actual debugging with breakpoints & stuff
@docent: do you see red screen in RN? Usually it gives some part of information. Second thing to try - Debug in Chrome and stop on exceptions
well - running app is a bit different thing as in production you (well me) using advanced compilation - so stack traces doesn’t mean anything
I am coming from java and having stuff like stack traces is a basic tool for examining production issues
I don't have much experience with e.g. Android dev, but I imagine if something like that happens in the mobile app, there's logs too, so we are covered
we fetch JS files manually and then eval them. Google Chrome has no idea about source maps
But at least it would be nice to have them if we don't use figwheel but just produce one big js file
and keeping in mind that RN would have hot reload very soon I’m less and less committed continue working with figwheel here
Can you please elaborate on how boot-react-native doesn't have this issue? And where did you get the info about RN hot reload?
boot-react-native generates JS from CLJS (transforms it a bit) and then put it in a folder that RN packager controls. So no hacks around require package, no hack with source map. Hot-reload - sorry, I’m too lazy right now to search, but one of the maintainers of RN in a twitter mentioned that somebody working already on it
All / cc : @dvcrn @mfikes @artemyarulin : Put up https://github.com/cljsrn/community/wiki/ClojureWest-2016 as a repository of ideas on a clojurescript+reactNative talk.
@donmullen: Hm, looks like I cannot edit it,not familiar with wiki on github but it looks I cannot even fork it and make a PR
@artemyarulin: OK - you should have write access now to wiki. I also sent you a member invite.
To make it easier to submit content to http://cljsrn.org, I put markdown files in https://github.com/cljsrn/cljsrn-org. Feel free to submit PRs there, and I can incorporate them, build the site, deploy it, etc.
@artemyarulin: I wanted to add some of your recent stuff to http://cljsrn.org, but I hadn’t yet figured out if it is “top-level” stuff, interesting repos, etc. Feel free to submit PRs to have your content added, even if that means re-arranging the structure a bit to make things reflect where they are now.
I think the boot-react-native stuff might be a top-level thing under Using. (It wasn’t clear to me yet.)
(By the way, I don’t have strong opinions about the structure of the site… just wanted to collect resources in some logical arrangement that is easy to consume.)