ember-fastboot / ember-fastboot/ember-cli-head

{{head-layout}} needs to be included multiple times with FastBoot

Open
#51 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
97
Forks
35
Avg merge
3h 3m
Merged PRs (30d)
6

Description

The readme says:

> As mentioned above you need to add the `{{head-layout}}` component once and only once in an application wide template

But I'm finding that I need to include `{{head-layout}}` at whichever route level I interact with the headData service in order for it to work with FastBoot.

For example, if I have `/profiles/1` which corresponds to an application route and a profile show route, both of which set data on the headData service, then I will need `{{head-layout}}` in `application.hbs` as well as `profiles/show.hbs` in order for the changes in the profile show route to be reflected after FastBoot render.

Hope that makes sense.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.