3 ms·
It's impossible to use native widgets with Qt. React Native for Windows will make it possible to write applications in the React style (PropTypes and automatic
by iso-8859-1 7y ago
It's impossible to use native widgets with Qt. React Native for Windows will make it possible to write applications in the React style (PropTypes and automatic propagation of updates), but using native Windows widgets.
While Qt emulates something like WinForms quite well, I don't think it emulates WPF widgets at all, which I speculate this wraps.
Given that WPF is the primary GUI toolkit on Windows, the only reason to accept Qt, is if you're making something like a WinForms application that you need to run on all platforms.
Sounds like it will bring React apps a lot closer to their Windows underpinnings:
> Sometimes an app needs access to a platform API that React Native doesn't have a corresponding module for yet. Maybe you want to reuse some existing .NET code without having to reimplement it in JavaScript, or write some high performance, multi-threaded code for image processing, a database, or any number of advanced extensions.
> React Native was designed such that it is possible for you to write real native code and have access to the full power of the platform. This is a more advanced feature and we don't expect it to be part of the usual development process, however it is essential that it exists. If React Native doesn't support a native feature that you need, you should be able to build it yourself.
Source: https://github.com/microsoft/react-native-windows/blob/master/current/docs/NativeModulesWindows.md https://github.com/microsoft/react-native-windows/blob/maste...
- contextfree 7y agoThe new version wraps WinUI/UWP widgets not WPF
- iso-8859-1 7y agoAll right. Still Windows specific though. Could WinUI/UWP become available on e.g. Linux, or is inherently bound to Windows?