Flex 4: Components inside components

Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as attached, or doesn't it matter?
            <s:Label text="This is a test."/>

Open in new window

Who is Participating?
ChristoferDutzConnect With a Mentor Commented:
Its not bad practice, it's the way you do it ;-)

As a rule of thumb ... if the component belongs to a greater component, put it inside. If it has nothing to do with it, put it outside.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.