It is more a design / best practice question, in Ember 2.x
I am creating a new ember web application, and for the site header I created a separate component site-header
and included it in application.hbs as follows.
application.hbs
{{site-header}}
{{outlet}}
I am trying to figure out if using partial instead of a component might be a better choice for the following reasons:
This component, site-header
...
- only used in
application.hbs
- does not support state
- has no
actions
associated with it (only some links to change route
).
source
share