Home

Issue: 2678

When to use <no-ssr> when not to?

[issue link]

Is there a way to clearly know when exactly to use <no-ssr>?

I built a screen front end library to determine screen sizes that utilises the window.matchMedia() function and got the window is not defined error while working on html conditionals. So I fixed it with adding <no-ssr> tag. But still quite confused at the moment.

Not sure if I missed anything from the documentation but SSR is quite confusing for me at the moment.

If anyone can help shed some light here it will be great!

This question is available on Nuxt.js community (#c2328)