4 ms·
I don't really care about their end result because I don't use facebook. But in spite of all the negative comments here, I'm actually interested in how their st
by janpot 6y ago
I don't really care about their end result because I don't use facebook. But in spite of all the negative comments here, I'm actually interested in how their styling solution works.
- kall 6y agoIf I had to guess, I would expect it to be similar to react-native-web. They say the api is inspired by RN (StyleSheet.create) and the atomic classes look similar to what react-native-web produces. Also the author of RNW works at facebook. It‘s called xstyle and you can see some examples in a talk from last year that presented the new tech for new faceook. I will update if I find the link (can‘t right now). Edit: starts at about 28:00 here, but the rest about react+relay data fetching is interesting as well if you care about that stuff https://developers.facebook.com/videos/2019/building-the-new-facebookcom-with-react-graphql-and-relay/ https://developers.facebook.com/videos/2019/building-the-new...