lelandrichardson / react-primitives

Primitive React Interfaces Across Targets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove StyleSheet.resolve method on web

brodybits opened this issue · comments

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.

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