This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-27
Channels
- # beginners (54)
- # bitcoin (2)
- # boot (1)
- # calva (10)
- # cider (30)
- # cljs-dev (25)
- # cljsrn (17)
- # clojure (27)
- # clojure-dev (16)
- # clojure-estonia (3)
- # clojure-hk (1)
- # clojure-italy (8)
- # clojure-losangeles (1)
- # clojure-nl (17)
- # clojure-russia (1)
- # clojure-spec (15)
- # clojure-uk (45)
- # clojurebridge (1)
- # clojurescript (95)
- # clojurescript-ios (1)
- # core-async (5)
- # cursive (10)
- # datomic (8)
- # emacs (2)
- # figwheel-main (31)
- # fulcro (99)
- # hyperfiddle (3)
- # immutant (1)
- # jobs (13)
- # jobs-discuss (82)
- # keechma (6)
- # leiningen (3)
- # lumo (1)
- # nrepl (1)
- # off-topic (37)
- # onyx (1)
- # pedestal (6)
- # re-frame (7)
- # reitit (2)
- # remote-jobs (1)
- # ring-swagger (3)
- # rum (6)
- # shadow-cljs (14)
- # specter (4)
- # tools-deps (27)
- # yada (12)
is anyone using react-navigation with cljs and react-native?
@deactivateduser795932 We are, unfortunately we’re using an old version of react-navigation and when I tried to upgrade I ran into trouble. But eventually I’ll have to get it working properly 🙂
ahh ok yea I saw your repo and noticed it was a bit outdated
well guess it's time to dig in from scratch!
@deactivateduser795932 Are you using re-frame?
what were your biggest hurdles with it?
Ok nice! Then the biggest issue is trying to keep the navigation state in app-db (I had to keep it a js object) and then to hook up dispatchers and listeners
Ideally the nav state is just another cljs-map in the app-db but it’s not trivial to set things up. react-navigation does quite some magic in order to be as performant as it is
as it always does
thought about just handleing navigation through re-frame itself, not sure how well that works though
what I figured
(My naive react-navigation integration doesn't play well with figwheel because navigation state isn't in app-db)
I was thinking about doing that too but thought that would be the case