Devcards aims to provide a visual REPL experience for ClojureScript
sveri 2016-02-23T14:46:03.000015Z

I am trying out devcards and as soon as I add this expression: [devcards.core :refer-macros [defcard]]or this (:require-macros [devcards.core :refer [defcard]]) section I get this error: Uncaught TypeError: Cannot read property 'render' of undefinedin my browser console. Any ideas what is going on here?

sveri 2016-02-23T15:11:32.000016Z

I just checked the dependency tree and every react dependency is > 0.14.x

sveri 2016-02-23T15:23:54.000017Z

@kurtlazarus: I see you had the same problem: did you solve this somehow?


@sveri: yea, i solved it by downgrading reagent


at the time, reagent and devcards were using two different versions of react

sveri 2016-02-23T17:26:03.000021Z

Hm, my dependency tree looks like this:

sveri 2016-02-23T17:26:47.000023Z

they almost refer to the same version

sveri 2016-02-23T17:27:02.000024Z

although only devcards refers to plain react

sveri 2016-02-23T17:39:49.000025Z

Got it working now using the versions from here: I get a warning that React.render is deprecated, but I guess thats ok