What if Components had an option to mark an area as Children's container?

Similar to React <Children> what if we could mark a wrapper inside a component as an editable content area, meaning that we can add / remove things from that area without compromising the parent component, a real Container Component.

Imagine having a card component where you don’t need to create 25 different sub components to swap inside!!!

I often end up breaking components or desisting on them since some parte inside them is ultra flexible, or it just doesn’t make to sense to create a component.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.