Add server-side rendering support to styled-components!
NOT LIVE YET BECAUSE EXPERIMENTAL, WE AREN'T SURE IF WE ACTUALLY NEED THIS JUST YET
npm install --save-dev babel-plugin-styled-components-ssr
Then in your babel configuration (probably .babelrc):
{
"plugins": ["styled-components-ssr"]
}- Figure out if we actually need this
- Add support for different import name, e.g.
import s from 'styled-components'breaks at the moment - More tests to make sure we're solid and have covered all the edge cases
Licensed under the MIT License, Copyright © 2016 Maximilian Stoiber.
See LICENSE.md for more information.
This repo is largely based on @vdanchenkovs excellent babel-plugin-styled-components-named. Thank you!