Fork me on GitHub
#devcards
<
2015-11-19
>
profil17:11:48

Just updated to devcards 0.2.1 and added to a new project. I seem to get errors with react-dom, js/ReactDOM is undefined, any ideas?

profil17:11:11

react-dom.inc.js does return React.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; which is undefined, what is going on?

joshfrench18:11:21

does devcards always just mount on the body or can i target a specific DOM node? i’d like to target some CSS selectors without having to bake them into each card.

profil18:11:08

downgrading to 0.2.0-8 and everything works.. weird

minimal18:11:55

You need to make sure you are pulling in react 0.14, not 0.13. One of your deps may need upgrading like sablono

profil22:11:17

@minimal: the only thing I got in the react-dom m2 repository is ~/.m2/repository/cljsjs/react-dom/0.14.0-1

profil22:11:28

Btw, is there a reason why the :inspect-data is not rendered with a monospace font? Would be nice if the edn was aligned properly