This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-08
Channels
- # aws (3)
- # bangalore-clj (1)
- # beginners (47)
- # boot (137)
- # cider (1)
- # cljs-dev (67)
- # cljsrn (7)
- # clojure (122)
- # clojure-argentina (5)
- # clojure-berlin (4)
- # clojure-czech (12)
- # clojure-france (27)
- # clojure-italy (9)
- # clojure-russia (88)
- # clojure-spec (44)
- # clojure-uk (157)
- # clojurebridge (2)
- # clojurescript (236)
- # datomic (5)
- # devcards (3)
- # dirac (23)
- # emacs (13)
- # hoplon (29)
- # incanter (1)
- # leiningen (41)
- # microservices (1)
- # off-topic (78)
- # om (145)
- # onyx (13)
- # parinfer (8)
- # pedestal (4)
- # planck (15)
- # protorepl (1)
- # re-frame (72)
- # reagent (25)
- # ring (2)
- # specter (23)
- # test-check (9)
- # untangled (106)
- # vim (8)
- # yada (1)
@keatondunsford I tend to keep the app and backend sides as completely separate projects because they tend to share few things. Thus using re-natal or boot-react-native to create an app project and then use whichever Clojure web-app/api template takes your fancy for the backend.
For generating externs for google closure advanced compilation, I find an actually pretty old idea from https://gist.github.com/Chouser/5796967, make some changes to the gist, now it works for some react native apps of mine. https://github.com/tiensonqin/exponent-cljs-template/blob/master/resources/leiningen/new/exponent/env/dev/externs.clj
Is there a work around for accessing refs with react native? I.e. I need to access a ref to use onRightButtonPress to push a component onto the NavigatorIOS component — but refs aren’t supported in Reagent
@acrognale I remember refs works for me in Reagent on RN, not in front of computer, will check it later.
@tiensonqin I actually ended up finding an example (https://gist.github.com/pesterhazy/4d9df2edc303e5706d547aeabe0e17e1) which was effectively what I was trying to do, guess I should’ve looked at more google results!
@acrognale Glad you find the solution.
@acrognale 👍 that's exactly what I use refs for