Fork me on GitHub

got errors when trying to use devcards with shadow-cljs.

Uncaught ReferenceError: React is not defined
    at system.cljs:321
    at system.cljs:321
core.cljs:117 Uncaught ReferenceError: React is not defined
    at core.cljs:117
    at core.cljs:117
core.cljs:71 Uncaught TypeError: devcards.system.start_ui is not a function
    at Function.cljs$core$IFn$_invoke$arity$1 (core.cljs:71)
    at Function.cljs$core$IFn$_invoke$arity$0 (core.cljs:64)
    at cards.cljs:7


The code is

  (:require [devcards.core :as dc
             :refer-macros [defcard start-devcard-ui!]]))



Oh, I need require cljsjs.react and cljsjs.react.dom

Steven Katz19:05:56

Is anyone using figmain integrated with cursive? I folowed the instructions here: But see this when the repl starts:

May 03, 2019 1:59:46 PM org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
Unable to detect a system Terminal, you must not launch the Rebel readline
from an intermediate process.
If you are using `lein` you may need to use `lein trampoline`."
Is this normal? (edited)

Alan Thompson22:05:59

Anyone ever seen this error with figwheel.main?

Alan Thompson22:05:28

Also getting this error: