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
I tried the styled-components example and in the server render process it writes the styles directly in the HTML instead of rendering them inside a <style> tag.
I tried the styled-components example and in the server render process it writes the styles directly in the HTML instead of rendering them inside a
<style>
tag.Example with JS disabled
Example with JS enabled
This is due this line (https://github.com/zeit/next.js/blob/master/examples/with-styled-components/pages/_document.js#L7) return an string without the
<style>
tag and Next.js expect thestyle
prop to have the tag.The text was updated successfully, but these errors were encountered: