Can someone explain or lead me to a reason that this is a good idea? I understand that React is solving a problem, but I don't see how inlining your css like so contributes or improves the solution that React brings.
this becomes very quickly hard to manage
the core idea is to do what react did in js (global namespace => components) but for css
that being said i believe stuff like https://github.com/css-modules/css-modules will be a more correct solution (you can also use scss to precompile eg)