This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-16
Channels
- # aleph (1)
- # aws (2)
- # bangalore-clj (2)
- # beginners (33)
- # cider (3)
- # cljs-dev (4)
- # cljs-experience (6)
- # cljsjs (1)
- # cljsrn (8)
- # clojure (84)
- # clojure-sanfrancisco (1)
- # clojure-spec (6)
- # clojure-uk (5)
- # clojurescript (42)
- # defnpodcast (3)
- # docs (3)
- # emacs (13)
- # events (1)
- # fulcro (2)
- # hoplon (19)
- # liberator (2)
- # off-topic (5)
- # onyx (7)
- # parinfer (1)
- # pedestal (1)
- # re-frame (13)
- # ring-swagger (13)
- # spacemacs (19)
- # yada (2)
I'm getting super stoked about https://github.com/Day8/re-frame-trace but I don't see how to use it with React Native. When it says "press Ctrl+H" where is it referring?
heh, never considered it in the context of react native
Here's where it runs: https://github.com/Day8/re-frame-trace/blob/0a4d04b214d7ba72a7c21d7f36c95f48fd583853/src/day8/re_frame/trace.cljs#L338
What would make sense for react native? I've never used it. What do other debugging tools do?
Refrisk has a remote mode which starts a server and browser window so you can do the inspection in
Something like this works well with react native
Hi! Is it possible to use DaveWM/reagent-material-ui with re-frame? I have added it as a dependency and I tried to define a simple view:
(ns myapp.views
(:require [re-frame.core :as re-frame]
[reagent-material-ui.core :as ui]))
(defn color [nme] (aget ui/colors nme))
(defonce theme-defaults {:muiTheme (ui/getMuiTheme
(-> ui/darkBaseTheme
(js->clj :keywordize-keys true)
(update :palette merge {:primary1Color (color "amber500")
:primary2Color (color "amber700")})
clj->js))})
(defn main-panel []
(fn []
[ui/MuiThemeProvider theme-defaults
[:div
[ui/AppBar {:title "Hi"}]]])))
but I am getting following error in the browser console:
base.js:1357 Uncaught Error: Undefined nameToPath for react_dom
at visitNode (base.js:1357)
at visitNode (base.js:1355)
at visitNode (base.js:1355)
at visitNode (base.js:1355)
at Object.goog.writeScripts_ (base.js:1369)
at Object.goog.require (base.js:706)
at (index):11
Any idea why?Doh, it was an issue with react dependencies - I didn’t specify them explicitly and an old ones for react and react-dom were on classpath that provides
only for cljsjs.react
and cljsjs.react-dom
but not for react
and react-dom
Hello guys! How can I change the name of the compiled output file? js/compiled/app.js
Thanks!
Got it!
in project.clj