ptmt / react-native-macos

[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa
MIT License
11.24k stars 429 forks source link

Microsoft Windows support #21

Closed leecade closed 8 years ago

leecade commented 8 years ago

For support WinXp, we chosen NW.js instead of electron.

But NW.js is a half-dead project now, with poor performance and a lot of bugs.

So I think react-native-desktop worth waiting for, not sure know to make it works on windows, maybe very difficulty.

Any planning or roadmap? thanks

ptmt commented 8 years ago

This is still proof of concept with a way more bugs than NW.js. When I will able to write commercial software with RND (earn money basically) I'm sure It would be ported it to Linux and Windows.

fraserxu commented 8 years ago

@leecade If you prefer a hybrid solution, you may check out Electon, which is what Github use for the Atom editor and is quite popular and actively mantained.

leecade commented 8 years ago

@fraserxu yeah Electon is great, but no WinXp support

leecade commented 8 years ago

@ptmt I like the react way, a big ecosystem, very glad to see it run on desktop

not sure how run on windows, do you have any idea now?

metrue commented 8 years ago

WinXp is really old, no need to spend extra on that I think.

2015-11-25 12:36 GMT+08:00 斯人 notifications@github.com:

@fraserxu https://github.com/fraserxu yeah Electon is great, but no WinXp support

— Reply to this email directly or view it on GitHub https://github.com/ptmt/react-native-desktop/issues/21#issuecomment-159489952 .

Sincerely,


www.minghe.me Living@www.minghe.me


appinteractive commented 8 years ago

Yeah, who needs Windows XP? There are not even security updates any more for this! Concentrate on the current versions. For windows 8 & 10 it should be really easy as they support web technologies for metro apps (which runs also on the desktop with windows 10)

escaton commented 8 years ago

@leecade Why dont you want to gracefully degrade to NW on winXP while using cool Electron for newer environment? It shouldn't be so hard to port Electron app to NW maybe with loosing some features.

joemcbride commented 8 years ago

Getting this to work on windows would be pretty awesome. My ReactNative WPF project is not as far along as this one, though getting React Native to work on Windows with WPF is certainly possible. Microsoft has an Objective-C runtime, though it focuses on iOS and not the desktop. Not sure how feasible it would be to get it to work with the desktop, though it may be possible in the future with the acquisition of Xamarin.

https://github.com/joemcbride/react-native-wpf https://github.com/Microsoft/WinObjC

ptmt commented 8 years ago

AFAIK, WinObjC is not an ideal, and very limited. So I agree, right now, not sure if will work. react-native-wpf looks nice, great job! I hope to extract RND repository into a stand-alone namespace and hack on Windows implementation. Would be awesome to join forces eventually. Though, with such a large adoption of Windows 10 on devices, might be reasonable to support only that. And with .NET seriously coming to Linux, maybe we could re-use part of that codebase.

ptmt commented 8 years ago

Also, it seems Microsoft will do it by yourself in week or so (though, it's only about windows universal apps)

leecade commented 8 years ago

@joemcbride AWESOME! This is what I looking forward

thanks for give me a hope

ptmt commented 8 years ago

So, Windows 10 support is here! https://github.com/ReactWindows/react-native Older version would be covered by gtk+ branch.

Evanion commented 7 years ago

These two projects should be merged so that you can deploy to both environments just like the iOS/Android version does.. It would decrease the maintenance and overhead with developing and maintaining an app for two platforms.