In component based world, people often wants scoped styles, that can easily be done via inline CSS…
Roy Ling

Scoped styles are a big part of it. Also dynamic styles, or styles computed using application data known only at runtime. Or styling applied to JavaScript events (such as while a component is unmounting, but never any other time).

Many of the emerging css in js libraries, like glamor and styled-components, do not depend on inline styles. They append style tags with scoped classnames to the document itself.

Like what you read? Give Joe Fraley a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.