4 ms·
Not sure about your stack, but styled-components declared it as deprecated and babel-plugin-styled-components page doesn't show anything about static style extr
by ex3ndr 8y ago
Not sure about your stack, but styled-components declared it as deprecated and babel-plugin-styled-components page doesn't show anything about static style extractions.
I think it depends on your requirements, we have a messaging app and i need to switch chats in < 30ms without caching of pages. Otherwise page will be junky for non-chrome browsers.
- vcarl 8y agoNot sure where you're getting that it's deprecated. Both the repo itself and the styled components website list it as a highly recommended (but optional) addition. https://www.styled-components.com/docs/tooling#babel-plugin https://www.styled-components.com/docs/tooling#babel-plugin
- ex3ndr 8y agoPlugin is not deprecated, sure, but it doesn't do static style extraction: `This plugin adds support for server-side rendering, minification of styles, and a nicer debugging experience.`