mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-06-16 21:21:20 +08:00
Calculating the `location{X,Y}` values for events requires a call to
`getBoundingClientRect`. To prevent unnecessary performance costs, these values
are implemented as getters and will only make the DOM API call when accessed in
application code.
Close #1157