This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-25
Channels
- # announcements (1)
- # beginners (338)
- # calva (41)
- # cider (19)
- # cljdoc (10)
- # cljsrn (6)
- # clojure (116)
- # clojure-europe (15)
- # clojure-italy (25)
- # clojure-nl (5)
- # clojure-spec (19)
- # clojure-uk (52)
- # clojurescript (99)
- # clojurex (14)
- # cursive (47)
- # data-science (1)
- # datomic (5)
- # duct (1)
- # figwheel (13)
- # fulcro (58)
- # graalvm (93)
- # jobs (3)
- # joker (9)
- # luminus (4)
- # nrepl (21)
- # off-topic (41)
- # pathom (25)
- # re-frame (7)
- # reitit (8)
- # ring-swagger (13)
- # tools-deps (13)
I can't seem to make dynamic my navbar, using ReactNavigation. Here's what I've got. Any suggestions appreciated (attempting different layerings of functions-in-functions hasn't seemed to help)
@worlds-endless I’ve had good luck with https://github.com/seantempesta/cljs-react-navigation
I can include normal reagent components with subscriptions to re-frame data in navigation options (like headerRight
)
So I end up with something like (stack-navigator {:Home {:screen (stack-screen some-component {:title "Home" :header-right some-header-component})}})
Thank you! I'll check that out
For those interested in http-fx that work on RN, I wrote up that little fn I posted above on my blog with some explanation around how you might adapt it yourself: https://increasinglyfunctional.com/2019/06/25/http-fx-for-re-frame-on-react-native.html