react-native-macos/flow
Rubén Norte 673c7617bc Implement DOMRect and DOMRectReadOnly matching Web
Summary:
This adds the `DOMRect` and `DOMRectReadOnly` classes to React Native, mostly following the Web spec.

This is a requirement for `node.getBoundingClientRect()`, which we'll implement in React (in https://github.com/facebook/react/blob/main/packages/react-native-renderer/src/ReactFabricHostConfig.js#L134-L323).

Changelog: [General][Added] - Added Web-compatible `DOMRect` and `DOMRectReadOnly` classes to the global scope.

Reviewed By: ryancat

Differential Revision: D42963222

fbshipit-source-id: bf2ed15bfbfd71822cb6f969f8cc0a67c7834333
2023-02-09 09:36:08 -08:00
..
HermesInternalType.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Position.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Stringish.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
console.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
global.js Implement DOMRect and DOMRectReadOnly matching Web 2023-02-09 09:36:08 -08:00
jest.js Update Jest type definitions to v29 2023-01-18 10:52:29 -08:00
use-sync-external-store.js Replace use-subscripton with use-sync-external-store (#33770) 2022-05-05 19:58:19 -07:00