th3rdwave / react-native-safe-area-context

A flexible way to handle safe area insets in JS. Also works on Android and Web!
MIT License
2.14k stars 197 forks source link

chore: remove deprecated web API #461

Closed EvanBacon closed 9 months ago

EvanBacon commented 9 months ago

Summary

On web, we get the warning StyleSheet.compose(a, b) is deprecated; use array syntax, i.e., [a,b]. because apparently this API is deprecated.

Test Plan

janicduplessis commented 9 months ago

Thanks @EvanBacon !

jacobp100 commented 9 months ago

Closes https://github.com/th3rdwave/react-native-safe-area-context/issues/457 - but I'm not sure why this was deprecated?