lelandrichardson / react-primitives

Primitive React Interfaces Across Targets
MIT License
3.09k stars 108 forks source link

Remove StyleSheet.resolve method on web #139

Open brodycj opened 5 years ago

brodycj commented 5 years ago

I 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.

macintoshhelper commented 4 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).