ember-cli-fastboot icon indicating copy to clipboard operation
ember-cli-fastboot copied to clipboard

Content not replaced/hydrated when using Embroider

Open josemarluedke opened this issue 4 years ago • 7 comments

Adding Embroider to a FastBoot site causes the content to not be cleared, instead the content is rendered twice.

The issue can be seen in this PR.

Note, I have EXPERIMENTAL_RENDER_MODE_SERIALIZE enabled, but it does not affect the bug if I disable that.

josemarluedke avatar Sep 06 '20 23:09 josemarluedke

@josemarluedke I got your PR running and every seems fine to me.

Why do you think it is rendering the content twice?

kiwiupover avatar Sep 22 '20 15:09 kiwiupover

@josemarluedke ping are you stilling having issues here?

kiwiupover avatar Oct 02 '20 15:10 kiwiupover

Yes, I'm still having this issue. It's weird you were not able to see in that PR. The entire site is rendered twice. I can post a screenshot when I am back to the computer.

josemarluedke avatar Oct 02 '20 15:10 josemarluedke

What do you mean by rendered twice?

kiwiupover avatar Oct 02 '20 15:10 kiwiupover

Here is an image showing that the HTML generated in FastBoot was not removed when the client version executed, the client version just prepended the content, leaving the HTML from the FastBoot and adding the HTML for the client. That makes it show the entire site twice on the same page.

Screen Shot 2020-10-02 at 8 40 27 AM

josemarluedke avatar Oct 02 '20 15:10 josemarluedke

Interesting. I will have a further look in the next few days.

kiwiupover avatar Oct 16 '20 05:10 kiwiupover

@kiwiupover @josemarluedke did anything ever come out of this investigation?

rahulk94 avatar Nov 08 '21 04:11 rahulk94