Fork me on GitHub
#devcards
<
2016-02-19
>
currentoor06:02:58

Hello, I’ve almost got devcards setup just one issue. I’ve got my widget component in a namespace called app.components.widget.text and I’ve got devcards for that widget in cards.widget.text. When I edit app.components.widget.text I can see that the code is reloaded in the js console but the devcards do not update/re-render with the latest component code. But if (after editing the component) I change the :inspect-data value in a devcard then they all re-render with the latest component code.

currentoor06:02:57

Ideally I’d like to keep my cards and component in separate namespaces but still have the cards re-render when I edit the component source.

currentoor06:02:02

Is there some naming convention I have to follow?

currentoor07:02:46

I think I figured it out. The component needs to be required in the root namespace that renders the tree to begin with.