Improvements to layout when ResizeObserver
is available, and improved consistency with React Native behaviors.
Breaking changes
AppRegistry
container is no longer absolutely positioned. (a9cacb2)- The
onLayout
prop is now called when elements resize (ifResizeObserver
is supported in the rendering environment). (5a04d07) - Layout measurements are now performed synchronously in the current frame. (a67bf0f)
react-art
must now be installed as peer dependency. (ce89b7e)
New features
AppRegistry
now allows you to define a render callback (web-only feature). (7a3a9a5)AppRegistry
includes provider methods from React Native:setComponentProviderInstrumentationHook
andsetWrapperComponentProvider
. (b96dd66)- Experiment support for
VirtualizedList
from React Native. (9427eea)
Fixes
Text
press event no longer propagates. (1a225bc)createElement
no longer overrides a provided function component. (cf26126)- Fix the consistency of
nativeEvent.location{X,Y}
values between touch and mouse events. (2050730) SafeAreaView
now includes inset padding for Safari iOS. (4c59343)Picker.Item
supports thecolor
prop but whether it is applied depends on browser support. (1aec803)- Fix the reliability of font styles resolution. (23fa663)