-
Notifications
You must be signed in to change notification settings - Fork 314
Description
Hi,
I’m working on a React Native Windows project and really need @react-native-picker/picker. Unfortunately, this library does not currently work with React Native Windows under the New Architecture (Fabric).
Microsoft’s own [React Native Gallery (NewArch)](https://github.com/microsoft/react-native-gallery/tree/main/NewArch) example even includes sample code for this component — but they didn’t include it in package.json because it’s not compatible. This is very frustrating. It feels like I’m the only developer in the world trying to use React Native Windows with a proper cross-platform picker component.
As you know, UWP has been deprecated, and all new React Native Windows projects are moving to the Windows App SDK (WinUI 3) with Fabric enabled by default. This means that libraries that don’t support Fabric will eventually be unusable for any modern Windows RN project.
Here’s the build error I’m getting when I try to use this package with Fabric enabled:
× Build failed with message
C:\Users\stajyer\Desktop\NickName\my_proj\node_modules\react-native-windows\PropertySheets\external\Microsoft.ReactNative.Uwp.Common.props(12,5): error : Property 'RnwNewArch' was set to 'true'. Projects built against Microsoft.ReactNative.Uwp require RnwNewArch to be 'false'. [C:\Users\stajyer\Desktop\NickName\my_proj\node_modules\@react-native-picker\picker\windows\ReactNativePicker\ReactNativePicker.vcxproj].
Check your build configuration.
Would it be possible to update this library so it works with Fabric (New Architecture) on Windows? Even some guidance or a roadmap would be incredibly helpful.
Thank you — this library is very important for cross-platform development, and I think adding Fabric support will make it future-proof for Windows developers.