Hacker News new | past | comments | ask | show | jobs | submit login

"but generally I just get very dirty .JS files with mixed HTML/CSS in them"

Just put the css/sass on .css/.sass files and import the classes from the react jsx file. No need to mix css and html.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: