This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-04
Channels
- # announcements (2)
- # beginners (24)
- # cider (53)
- # clara (4)
- # clj-kondo (3)
- # cljdoc (2)
- # clojars (1)
- # clojure (17)
- # clojure-dev (48)
- # clojure-russia (14)
- # clojure-uk (10)
- # clojuredesign-podcast (5)
- # clojurescript (11)
- # cursive (4)
- # events (5)
- # joker (1)
- # juxt (1)
- # kaocha (1)
- # re-frame (13)
- # reagent (1)
- # reitit (2)
- # sql (28)
Hi
In my project.clj
I have the following:
:dependencies [[com.andrewmcveigh/cljs-time "0.5.0-alpha2"] ...
In my cljs
file I require the library
[cljs-time.core :as t]
Running shadow-cljs compile npm
writes the following in the console
------ WARNING #1 --------------------------------------------------------------
File: cljs_time/core.cljs:606:30
Use of undeclared Var cljs-time/core
--------------------------------------------------------------------------------
------ WARNING #2 --------------------------------------------------------------
File: cljs_time/core.cljs:607:28
No such namespace: cljs-time, could not locate cljs_time.cljs, cljs_time.cljc, or JavaScript source providing "cljs-time"
--------------------------------------------------------------------------------
I think it was related to this: https://github.com/andrewmcveigh/cljs-time/issues/101
Can you build app without relying on core.async?
Yes, You can use Promesa library.
With re-frame, can you handle the asynchronous task?
Yeah you can, but main purpose of re-frame is to define architecture and state management for reagent application.