i have a comments section that gets called at 3 place in one place along with posts and at other two places solo.(comments only). Now using this as a element makes sense. But my posts are also rendered via a element. Does it makes sense to render a element inside another
Share
Since I knew about the elements I try to use whenever I can. They help you to minimize the code repetition. It’s not unusual include elements inside another.
In fact, I use the same structure in the elements directory as the views directory to organize them.