github necolas/react-native-web 0.10.0

latest releases: 0.19.13, 0.19.12, 0.19.11...
5 years ago

This release includes accessibility, measurement, performance and reliability improvements.

Breaking changes

  • The measurements provided by onLayout have been fixed but if you are depending on bugs in the prior implementation you may experience breaking changes. The dimension values will now include border size; the position values will now include transforms. (93eb3f0)
  • TextInput events no longer include the which property. (8925bf7)

New features

  • Support for the new accessibilityRole and accessibilityStates props (4040151)

Fixes

The following fixes were included in 0.9.x patch releases, and I want to bring attention to them in these release notes. Thank you to the people who contributed these improvements.

  • Fix a memory leak in the applyLayout registry (ad188a7 by @comp615)
  • Only observe resizes for elements making use of the 'onLayout' prop which improves ResizeObserver polyfill performance (d31bdf2 by @comp615)
  • Cache the Clipboard.isAvailable() value to avoid forced style calculation in Chrome (5855e55 by @comp615)
  • Improve the performance of the modality style helper (4b9a5fd and 1b7ce4e by @giuseppeg)
  • Only call node.getBoundingClientRect if nativeEvent.location{X,Y} is accessed (40c433c by @hushicai)
  • Improve the performance of the style resolver for registered styles (2b77bfd by @sayrer)

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

NewReleases is sending notifications on new releases.