We started to migrate away from pure CSS Modules to Styling in our apps. Code didn't hit production yet but we are close.
Writing styles in JS instead of CSS gave us a huge expressiveness boost and allowed to use existing JS tooling such as eslint. At the same time all CSS tooling still can be applied to compilation result (such as autoprefixer).
Also would be fun to write styles in TypeScript — statically typed styles sounds great.
Writing styles in JS instead of CSS gave us a huge expressiveness boost and allowed to use existing JS tooling such as eslint. At the same time all CSS tooling still can be applied to compilation result (such as autoprefixer).
Also would be fun to write styles in TypeScript — statically typed styles sounds great.