God this is horrible. It's ugly. Hard to read. Things are scattered all over the code. And where is my sass ?
https://github.com/webpack-contrib/extract-text-webpack-plug...
I guess now you have two files per component but to me, it's well worth it.
One of the boons of react is that you can create a set of reusable base components that can be built upon throughout your app.
If you can code-split the app, lazy-loading components as needed, and if you can cache all of the static app anyway, why does it matter if the presentation is tied to the logic?
The same can be said for vue.js. :)
The two languages have many merits and they both make their own sacrifices. But they are ultimately two peas of a pod.
Like Thor and Loki. But who is Thor and who is Loki? ;)