This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-18
Channels
- # admin-announcements (7)
- # arachne (24)
- # beginners (40)
- # boot (24)
- # braid-chat (22)
- # cider (8)
- # cljsrn (35)
- # clojure (32)
- # clojure-austin (1)
- # clojure-belgium (52)
- # clojure-russia (16)
- # clojure-sanfrancisco (1)
- # clojure-taiwan (2)
- # clojure-uk (25)
- # clojurescript (112)
- # core-async (3)
- # cursive (18)
- # data-science (1)
- # datascript (7)
- # datomic (30)
- # devcards (2)
- # dirac (12)
- # emacs (4)
- # flambo (1)
- # funcool (5)
- # hoplon (146)
- # jobs (9)
- # jvm (5)
- # off-topic (4)
- # om (141)
- # onyx (22)
- # re-frame (89)
- # reagent (86)
- # ring-swagger (31)
- # rum (3)
- # spacemacs (1)
- # specter (10)
- # untangled (112)
- # yada (3)
@madvas: I am implementing NavigationExperimental since it is what facebook will migrate to and the abstract model fits very well with re-frame, haven’t figured out tabs yet though: https://github.com/vikeri/re-navigate
@madvas: :thumbsup:, after investigating what are your general thoughts on the navigation story in RN + cljs?
@vikeri: it’s a mess 😄 I mean navigation in RN in general (not in cljs). I started with RN just recently, but I’m bit disappointed such essential element as navigation, isn’t solved yet. There’s many solutions, but none of them is clearly best. Tho, I understand it’s complicated 🙂
@madvas: Yeah I got to that conclusion as well. I am hoping on NavigationExperimental + re-frame though. Not sure if I will need much more than that.
@vikeri: I’ll let you know, when I’ll push react-native-navigation
with re-frame
, so u can take a look 😉
how can I create environment related vars in re-natal? like api keys that should be different in dev and prod
@knotschi: You should use Google Closure defines, but that is not fully working in re-natal yet: https://github.com/drapanjanas/re-natal/issues/46
Has anyone worked with RN Animated API?
What am I doing wrong?
Um.. I change update
for mount
and it work… I don’t understand how it happened...
did-update is not run the first time but all subsequent renders, did-mount is only run the first time: https://facebook.github.io/react/docs/component-specs.html#lifecycle-methods
I know that, and I want animation on every update
Ok sorry, not familiar with Animate. But one may perhaps assume that an animated watcher is inserted only on mount and is thereafter triggered on each update as well?
Now tried add both update
and mount
, it work only on mount
Maybe this work only with local state
I'd like to get into cljsrn and have used neither cljs nor r(n) before, any tips on how to get started fast are appreciated. My current plan is to get something running on my iphone via the instructions on https://github.com/drapanjanas/re-natal
Looks like my fault) thx @vikeri
@bikeshedr: Sounds like a good plan
vikeri: thanks 🙂 where do you guys look for api docs? straight at FBs rn page or are there cljs docs I haven't spotted yet. Sorry for the confusion on my part, it's just a bit overwhelming with so many new libs and options
The main place I go to for RN is: https://facebook.github.io/react-native/docs/getting-started.html But then for CLJS specifics you may also want to check: https://github.com/Day8/re-frame and https://reagent-project.github.io/ if you choose reagent as interface in re-natal.
vikeri: yeah, I was planning to use reagent as an eas(y/ier) start 🙂 thanks a bunch, I hope the confusion goes away soon. it probably stems from the fact that I didn't make a smartphone app before and havea ios dev license sitting around since september. so I just wanted to get something running asap 🙂
Alright, for a good overview of how the FPR:ish architecture works I highly recommend the second re-frame link. The readme is quite extensive. You can also check out the channels #C073DKH9P and #C0620C0C8 To me using RN feels much more like doing web frontend than app dev. But I haven’t dug down deep in native integrations yet...
are there any examples of routing with re-natal and om next? is the RN navigator component used at all? How is this done?