4 ms·
I'm always surprised to find no mention of React Native in discussions around CSS in JavaScript. They've got it figured out. Stick your styles at the bottom of
by raphaelrk 8y ago
I'm always surprised to find no mention of React Native in discussions around CSS in JavaScript.
They've got it figured out. Stick your styles at the bottom of your component. Vertical flexbox by default. And... that's about it. It just works beyond that point.
We liked it so much we ported our webapp from react to react-native-web. It's an amazing library. You can freely mix in regular react, but the styling story is so good with react-native-web that you'd never want to. It powers mobile.twitter.com and the author (same person who made normalize.css) recently joined Facebook, which hopefully means more development to come.
You'd have to pay me to go back to styling the web with css. It really is a hair-pulling experience.