I try to scope CSS in React the same way that it is done in Vue.
I believe this is the way to go. Another way I found but I have no clue how to integrate with Meteor either is this one: https://github.com/gajus/babel-plugin-react-css-modules
but it relies on Webpack as well.
In Meteor, without webpack I’d probably need to rely on babel and postcss? I have no clue how to integrate these together.
@akryum as you did port vue-loader from webpack to meteor, do you have an idea of what is needed to have the same thing in React?
Basically I would declare my styles in the middle of a .js file like that:or and this would work similarly to how vue is doing. @all: how do you manage your styles in React today ? BEM convention? or you have something more solid like Vue?