Closed geoctrl closed 4 years ago
Currently, the useCss hook handles both strings (regular css) and objects (kremling-loader css).
useCss
kremling-loader
I'm thinking it would be great to move in that direction for the <Scoped> css prop as well, and eventually deprecate the postcss prop.
<Scoped>
css
postcss
Deprecating the postcss prop would be a breaking change, but it would be pretty easy to fix in any-sized project:
find/replace: postcss= => css=
postcss=
css=
👍 i like it
Currently, the
useCss
hook handles both strings (regular css) and objects (kremling-loader
css).I'm thinking it would be great to move in that direction for the
<Scoped>
css
prop as well, and eventually deprecate thepostcss
prop.Deprecating the
postcss
prop would be a breaking change, but it would be pretty easy to fix in any-sized project:find/replace:
postcss=
=>css=