microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.43k stars 1.14k forks source link

[Fabric] Switch DeviceInfoModule size changed API #12497

Open marlenecota opened 12 months ago

marlenecota commented 12 months ago

As we move away from window messages and HWNDs, we will eventually want to move away from using MS::RN::ForwardWindowMessage for updating size changes. This issue is here to track the work.

          Do we have an issue to switch this over to a real API that takes a size.  Something like MS::RN::NotifyOfWindowSizeChanged(rns, size);

_Originally posted by @acoates-ms in https://github.com/microsoft/react-native-windows/pull/12450#discussion_r1416157594_

acoates-ms commented 12 months ago

Note: When this issue is fixed, we should make sure to add the appropriate code to the template too.