github necolas/react-native-web 0.6.0

latest releases: 0.19.11, 0.19.10, 0.19.9...
6 years ago

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 (if ResizeObserver 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 and setWrapperComponentProvider. (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 the color prop but whether it is applied depends on browser support. (1aec803)
  • Fix the reliability of font styles resolution. (23fa663)

Don't miss a new react-native-web release

NewReleases is sending notifications on new releases.