However, a CSS->class name construction is very convenient:
const button = css`
font-weight: bold;
`;
As the result, there's no need for JSS's useStyles() hook indirection, which makes a smaller dependency in runtime. This is also very beneficial for rewriting.
This prototype is using Goober. Some findings:
css''
form. But can be done viacss({})
. E.g.css{{...proto, ...overides}}
.keyframes''
construct.However, a CSS->class name construction is very convenient:
As the result, there's no need for JSS's
useStyles()
hook indirection, which makes a smaller dependency in runtime. This is also very beneficial for rewriting.