Technological monitoring for web developers

May 18th, 2020

Stylemug - atomic CSS in JS w. zero runtime

Stylemug is a fast css-in-js library that extracts atomic CSS rules to a .css file. It generates atomic CSS from the static stylesheets defined in JS. The compiled rules are extracted to a .css file.The stylesheet code in the Javascript bundle is replaced (no CSS in JS) with a hash map for classnames lookup at runtime.

Front
CSS, JS