You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before 4.1.3 release the renderPage from context of Document's getInitialProps always returned html no matter what. It also happened in the case of error.
After commit #3142html can be undefined which causes issue when you depend on it. Before it was error page (with 500) overlayed with error code - that was ok.
Currently when you make syntactic error it will propagate as glamorerror and you need to always reload the page after this happens (hot reloading stops working).
The text was updated successfully, but these errors were encountered:
Before 4.1.3 release the
renderPage
from context of Document'sgetInitialProps
always returnedhtml
no matter what. It also happened in the case of error.After commit #3142
html
can beundefined
which causes issue when you depend on it. Before it was error page (with 500) overlayed with error code - that was ok.Now, when you use for example
glamorous
orglamor
with it's server side rendering it will not work. See code: https://github.com/zeit/next.js/blob/20af8cdabece57de21d9cbcdba7361a09bf66fbb/examples/with-glamor/pages/_document.js#L7Currently when you make syntactic error it will propagate as
glamor
error and you need to always reload the page after this happens (hot reloading stops working).The text was updated successfully, but these errors were encountered: