Replies: 1 comment 1 reply
-
This was my reason 😅 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to keep track of the relation between components and blocks and had done so using a custom property on the root component of my blocks. However, I just now saw there is a
block
parameter onComponentManager.addType
that after a quick glance looks like a shortcut to add a Block at the same time we add a Component.Couldn't find any mentions of this in the docs so I'm wondering what the general idea behind the
block
parameter is, to allow me to decide whether I should just scrap my custom solution. Is it simply a way to make the creation of component/block pairs less verbose or is it meant to support tracking the relationship between components and blocks?Beta Was this translation helpful? Give feedback.
All reactions