Thank you for your opinion. I failed to express myself properly.

Putting css in js doesn't mean you keep your styles along with your JS files.

Instead the main concept is to maintain styling of your application with JS code insted of CSS

This approach is used by one of the most popular libraries like material ui

also styled components serves the same purpose.

Software Engineer | https://www.mohammadfaisal.dev/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store