1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Update README.MD with warning about BETA version. Remove redundant note. (#1909)

This commit is contained in:
Grokling 2017-05-08 00:51:32 +12:00 committed by Tim Neutkens
parent 1b893518bb
commit c77e80be30

View file

@ -30,6 +30,4 @@ This example features how you use a different styling solution than [styled-jsx]
For this purpose we are extending the `<Document />` and injecting the server side rendered styles into the `<head>`.
## Notes:
- On initial install, you may see a server-side error: `TypeError: Cannot read property 'cssRules' of undefined when using this line of code` until you actually render a `styled-component`. I have submitted a PR to fix this issue with them [here](https://github.com/styled-components/styled-components/pull/391). For the time being, make sure you render at least one `styled-component` when you use this.
# WARNING This example uses styled-components v2 which is currently in BETA