styled-components / spec

Design Requirements and Spec for a Component-oriented CSS Solution
MIT License
61 stars 3 forks source link

"Buffering" and the necessary workarounds #7

Closed taion closed 7 years ago

taion commented 8 years ago

One caveat with frameworks that inject CSS at runtime (v those that use inline styles or generate styles at compile time) is that they can leak implementation details if they make use of buffering.

Aphrodite notes this caveat here: https://github.com/Khan/aphrodite#style-injection-and-buffering

threepointone commented 8 years ago

fyi, they're also looking to move away from this model (good!) https://github.com/Khan/aphrodite/issues/115

taion commented 7 years ago

Looks like none of the modern frameworks have this issue any more, so closing for staleness.