I'm running expo web build which uses react-native-web. I noticed it generates inline styles so if I render a list of items, the styles get repeated for each item. Is there a way to make it generate a unique className instead and add to the head like styled-components?
Revisited this and realized it's because the components I was using did not use the StyleSheet.create
api call internally, which WILL generate atomic css classes on react-native-web. Setting a regular object as the style property will just generate inline styles. For more info, see the issue I posted here: