Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{{SSR}} does not replace #18

Open
vadamk opened this issue Sep 2, 2017 · 6 comments
Open

{{SSR}} does not replace #18

vadamk opened this issue Sep 2, 2017 · 6 comments

Comments

@vadamk
Copy link

vadamk commented Sep 2, 2017

No description provided.

@torabian
Copy link

torabian commented Sep 8, 2017

I have the same issue.
{{SSR}} is not replaced on server render, seems server render is not working.

@kronthto
Copy link

kronthto commented Sep 8, 2017

I had the same problem ({{SSR}} showing), and it was caused because the Service-Worker cached the file it got directly requesting /index.html, that express.static served without replacing the Placeholders.
Subsequent page loads would hit this SW Cache with the {{SSR}}.

You could verify that you have the same problem by disabling/bypassing the SW cache (Ctrl+F5).

I solved this by adding the SW requested route that simply removes all placeholders: dieMAYREI@8e65209

@mohdhazwan
Copy link

im seeing {{SSR}} too.
anyone have a solution for this?
@kronthto your solution not working for me

@bondom
Copy link

bondom commented Nov 20, 2017

@mohdhazwan If you start your app with npm start you will see {{SSR}}, it is impossible now to have ssr in development mode with create-react-app

@maximalism2
Copy link

@mohdhazwan you have to run npm run now-start instead of npm run start:server

@kenshinman
Copy link

Still seeing {{SSR}} in the markup even after running npm run now-start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants