This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # bangalore-clj (5)
- # beginners (136)
- # boot (1)
- # bristol-clojurians (6)
- # cider (46)
- # cljs-dev (172)
- # cljsrn (35)
- # clojure (82)
- # clojure-china (2)
- # clojure-dev (9)
- # clojure-dusseldorf (1)
- # clojure-finland (15)
- # clojure-italy (54)
- # clojure-norway (4)
- # clojure-russia (6)
- # clojure-spec (19)
- # clojure-uk (61)
- # clojurebridge (1)
- # clojurescript (55)
- # community-development (23)
- # cursive (7)
- # datomic (19)
- # emacs (10)
- # events (4)
- # fulcro (108)
- # graphql (7)
- # hoplon (1)
- # leiningen (7)
- # lumo (14)
- # off-topic (68)
- # onyx (23)
- # parinfer (8)
- # portkey (40)
- # precept (11)
- # re-frame (5)
- # reagent (40)
- # ring-swagger (5)
- # shadow-cljs (58)
- # specter (5)
- # tools-deps (37)
- # unrepl (13)
- # vim (9)
- # yada (12)
Hi folks, I'm trying to get CIDER connected to an out-of-the-box re-natal app. Are these steps correct? 1.
react-native run-ios >> /dev/null (wait for simulator to start) 2.
lein figwheel ios 3.
cider-connect -> localhost -> 3449 (matching figwheel's "Figwheel: Starting server at http://0.0.0.0:3449" message)
hey guys, have anyone used/created
react navigation with cljs? I am looking for a stateless router but I havent been able to find anything 😞. Right now my routing state is reseted on every file saved
well, if you use figwheel and change a file, the navigation state gets reseted to the root
do you have an example that I can look at? and do you use the
Unfortunately no, but describe your issue clearly and file an issue in the cljs-react-navigation lib
@vikeri I just found this out: https://github.com/seantempesta/cljs-react-navigation/blob/master/src/cljs_react_navigation/re_frame.cljs are you using re-frame or just pure reagent? I am just using reagent so I guess that is why I am loosing the state :thinking_face: ?
You need to reload the RN app once figwheel is done (it says something along the lines of "Waiting for app to connect...")
@pesterhazy the issue is that nREPL connects and immediately poops out. Messages buffer output incoming...
[nREPL] Establishing direct connection to localhost:3449 ... [nREPL] Direct connection to localhost:3449 established nrepl-send-sync-request: Sync nREPL request timed out (op clone id 1 time-stamp 2018-03-23 17:59:39.318810000)
However—I did not reload the app, because after "Prompt will show when Figwheel connects to your application" was immediately followed by the prompt without me reloading: "ios:cljs.user=>"
Figwheel is just a Clojure process, so the first thing I'd do is to try to connect with
lein repl or similar
Did you see these instructions? https://github.com/drapanjanas/re-natal#starting-figwheel-repl-from-nrepl
I don't use nREPL with CLJS very much (as you know), but essentially the process should be the same as what you do in the Browser
In the interest of future folks who may encounter my question, what Paulus and I found was that trying to
cider-connect to an existing figwheel REPL will not work. I had been thrown off by the README's instruction to use
lein figwheel ios from the terminal, and trying to connect to that—don't do that. What does work is
lein repl from the terminal,
cider-connect to that (on whatever port it uses, not figwheel's 3449), then in CIDER's repl evaluate
(start-figwheel "ios"), then you have editor integration. You can also do it directly from CIDER: 1.
C-c M-j /
cider-jack-in 2. from CIDER repl,
(start-figwheel "ios"). Cheers.