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