Decide where to define subcomponents #100
woutermont
started this conversation in
Brainstorm
Replies: 1 comment
-
Each component should define its own subcomponents in its constructor, or anywhere before the tag is used/rendered. We should add syntactic suggar to the SDK, but also provide an example code block to do so without. Start from the following but expand with extra checks if necessary:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Where do we define the tags for subcomponents in components? It seems weird that the root index file should know all used (sub)components. On the other hand, defining tags inside the (sub)component's constructor leads to already registered tag errors.
Beta Was this translation helpful? Give feedback.
All reactions