Render Flow - When to use SASS vs CSS-in-JS
Write SASS/SCSS file
→SASS compiler converts to CSS
Write CSS-in-JS code in JS file
→JS runs in browser or build step
SASS is a preprocessor that turns special syntax into CSS before the browser sees it. CSS-in-JS generates styles dynamically inside JavaScript, applying them directly to elements during runtime or build.