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.
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.
Is there some naming convention I have to follow?
I think I figured it out. The component needs to be required in the root namespace that renders the tree to begin with.