This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-26
Channels
- # announcements (4)
- # beginners (160)
- # boot (2)
- # calva (40)
- # cider (41)
- # clara (24)
- # cljdoc (2)
- # cljs-dev (99)
- # clojars (4)
- # clojure (71)
- # clojure-dev (9)
- # clojure-europe (4)
- # clojure-italy (2)
- # clojure-nl (19)
- # clojure-spec (97)
- # clojure-uk (103)
- # clojurescript (57)
- # core-logic (1)
- # cursive (15)
- # data-science (31)
- # datomic (24)
- # duct (1)
- # emacs (39)
- # events (7)
- # figwheel-main (14)
- # fulcro (44)
- # garden (7)
- # jobs (13)
- # juxt (1)
- # leiningen (29)
- # music (2)
- # nyc (4)
- # off-topic (37)
- # pathom (12)
- # re-frame (26)
- # ring (1)
- # ring-swagger (10)
- # shadow-cljs (35)
- # spacemacs (2)
- # specter (4)
- # test-check (67)
@anish.developer what is the full name of the namespace you defined the ::initialized-db
in?
either at the REPL (require '[my-re-frame.events :as events])
or in the my-re-frame.core
namespace definition (:require [my-re-frame.events :as events])
then at the REPL you should be able to type simply ::events/initialize-db
without error. This should tell you if you got the key alias part right without worrying about re-frame.
thanks @U093DA4QY i have required events in core.cljs from where I'm dispatching event
now when i switch (in-ns 'my-re-frame.core)
in figwheel repl and do (re-frame/dispatch-sync [::events/initialize-db])
maybe in your setup you need to load the namespace? have you tried (load-namespace 'my-re-frame.core)
?
thank you very much @U093DA4QY!
Thanks @U4YGF4NGM, still it can't load that namespace getting error Invalid token: ::events/initialize-db
ahh stupid of me, now i have found why I am getting those errors in emacs in fighweel starts in clj cider
Trying to get Material UI - app-bar to work with a menu but it seems like the elements are all over my toolbar.. anyone who has managed to get this working? Currently using: https://github.com/madvas/cljs-react-material-ui
https://imgur.com/a/5A4VcM8 this is how it looks 😁
The answer to the question is: Use icon-menu. 🙂
they removed IconMenu in a never version of material ui, so if one looks at the examples of AppBar it might be confusing. If using old-material-ui.