Commit cc83e751 authored by Jess Telford's avatar Jess Telford Committed by Joe Haddad

Load styled-components example on codesandbox (#6321)

If this is an acceptable pattern, I'm happy to open a PR to add these links to all the other examples also 👍 
parent 6dfcacb7
...@@ -39,6 +39,10 @@ Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit. ...@@ -39,6 +39,10 @@ Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.
now now
``` ```
### Try it on CodeSandbox
[Open this example on CodeSandbox](https://codesandbox.io/s/github/zeit/next.js/tree/canary/examples/with-styled-components)
## The idea behind the example ## The idea behind the example
This example features how you use a different styling solution than [styled-jsx](https://github.com/zeit/styled-jsx) that also supports universal styles. That means we can serve the required styles for the first render within the HTML and then load the rest in the client. In this case we are using [styled-components](https://github.com/styled-components/styled-components). This example features how you use a different styling solution than [styled-jsx](https://github.com/zeit/styled-jsx) that also supports universal styles. That means we can serve the required styles for the first render within the HTML and then load the rest in the client. In this case we are using [styled-components](https://github.com/styled-components/styled-components).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment