This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-15
Channels
- # aws (1)
- # beginners (6)
- # boot (25)
- # cider (30)
- # cljs-dev (50)
- # cljsrn (45)
- # clojure (98)
- # clojure-austin (5)
- # clojure-czech (1)
- # clojure-dev (21)
- # clojure-dusseldorf (29)
- # clojure-germany (2)
- # clojure-greece (117)
- # clojure-italy (2)
- # clojure-nl (4)
- # clojure-russia (26)
- # clojure-serbia (10)
- # clojure-spec (123)
- # clojure-turkiye (1)
- # clojure-uk (27)
- # clojured (13)
- # clojurescript (57)
- # core-async (18)
- # cursive (13)
- # datomic (20)
- # defnpodcast (16)
- # emacs (8)
- # events (2)
- # figwheel (3)
- # instaparse (1)
- # jobs (3)
- # jobs-discuss (39)
- # klipse (9)
- # lumo (100)
- # mount (1)
- # numerical-computing (1)
- # off-topic (22)
- # om (34)
- # onyx (17)
- # pedestal (1)
- # perun (29)
- # re-frame (60)
- # reagent (16)
- # remote-jobs (8)
- # rethinkdb (6)
- # ring-swagger (19)
- # rum (1)
- # slack-help (1)
- # specter (3)
- # untangled (1)
- # yada (17)
How can i navigate from one page to another page in clojurescript using react native ?
You need to use a Navigator component
It's a bit tricky to use
you should first read this guide: https://facebook.github.io/react-native/docs/navigation.html
then you need to translate that to cljs
@viveke basically React Native is all in one activity, if you want go to another activity, that's native part work I think.
@doglooksgood I am using closure script to build mobile application
@viveke done this before with @pesterhazy's help, and this might help: https://github.com/ejelome/rn-rn/blob/master/12-using-navigators/using-navigators/src/using_navigators/android/core.cljs https://github.com/ejelome/rn-rn/blob/master/12-using-navigators/using-navigators/src/using_navigators/android/my_scene.cljs
@ejelome mind if I add this to https://github.com/mjmeintjes/boot-react-native/wiki/Using-React-Components ?
oh, that would be wonderful! thanks @pesterhazy
@ejelome @pesterhazy @doglooksgood thanks for that help . I shall follow the links and get back to you all..
good job on putting the example repo up, I'm sure that will help people in the future
pesterhazy: hi, thanks for the that, minor correction on the name, it's ejelome not elelome, thanks again! š
great! thanks @pesterhazy š
@ejelome Is there any example for RefreshControl in it? I met some problem with reagent and RefreshControl. I'm not sure about why it not work. IMO the reason may be Reagent component is not equivalent to React component(Reagent has its own wrapper).
might be persistentvector stuff but @pesterhazy is the expert on that one
@pesterhazy do you have experience with RefreshControl?
oops, fixed the typo
you should be able to edit the wiki as well
@doglooksgood no sorry
if you have some example code, we can have a look
alrighty! thanks @pesterhazy, appreciate it š
yes, same tools, except re-frame (it's another learning to be done, but will update that if free time kicks in :D)
actually, re-frame is still there, it's just that it's not imported and used, but only reagent so it will not be that difficult to connect re-frame stuff later on
Hi Everyone, I am a android mobile application developer. I am interested in learning "clojurescript react native " using re-natal build tools. Can anyone suggest to learn from the scratch ?
@viveke books? don't think so š I can refer book just about react native, without cljs)
there isn't really any re-natal learning material from scratch because it's just a cljs bootstrap (boilerplate, correct me if I'm wrong) for react native
@viveke nothing that Iām aware of in terms of books. The good news is that itās all ClojureScript -> JavaScript interop and everything ājust worksā (assuming youāre already familiar with cljs -> js interop in general)
@ejelome After you get the setup going, learning ClojureScript with React Native is 99% learning om/re-frame and āvanilla" React Native.
that's right, so the learner must at least have a grasp on both js and cljs before diving to re-natal, although you can somehow survive without re-frame if using reagent6 (as one of the bootstrap argument)
@viveke: For what itās worth, I taught myself Clojurescript by building a React Native app. And I had never done app development before. It wasnāt easy, but Iām glad Iāve stuck with it.