Open brodycj opened 5 years ago
Maybe encouraging use of StyleSheet.flatten
would make more sense, as that is a more standardised API.
StyleSheet.resolve()
appears to be an undocumented method, so should be fine to deprecate it with a warning until the next 0.x
version (assuming the wrapping to add the console log can't cause crashes).
react-native
on any platforms, as mentioned by the same note and confirmed by checking the following source: https://github.com/facebook/react-native/blob/master/Libraries/StyleSheet/StyleSheet.jsI would be happy to contribute this kind of an update in the near future, think this would need another new 0.x version according to semver etiquette.