mirror of
https://github.com/zhigang1992/styled-components.git
synced 2026-06-18 15:39:35 +08:00
* add seal fn back to ServerStyleSheet for backward compat * Make ServerStyleSheet sealed error more precise - collectStyles could very well be used for multiple elements although that's a rare use case - getStyleTags and getStyleElement are safe to be called again, unless interleaveWithNodeStream was called already - interleaveWithNodeStream is not safe to be called again * add tests verifying the error scenarios, allow getStyleTags during streaming