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.25k stars 429 forks source link

Is this repo still maintained? #220

Closed ozgrozer closed 5 years ago

ozgrozer commented 5 years ago

I'm seeing the latest commit was 4 months ago. So should I start developing something with React Native MacOS or should I look for something else for native MacOS apps?

ptmt commented 5 years ago

I’d say use something else. I’m planning to wait for a new React Native architecture and see if I can do something with it. Anyway I should add a disclaimer to Readme.md, thank you!

Also I’m writing a comparison for desktop UIs but it’s not to be finished anytime soon: github.com/desktopui

On Sun, 20 Jan 2019 at 00:20, Ozgur Ozer notifications@github.com wrote:

I'm seeing the latest commit was 4 months ago. So should I start developing something with React Native MacOS or should I look for something else for native MacOS apps?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ptmt/react-native-macos/issues/220, or mute the thread https://github.com/notifications/unsubscribe-auth/AA9SU0mScQximCgvA2Q4lSLBgNoBnUzIks5vE4wNgaJpZM4aJVqB .

LukasBombach commented 5 years ago

Too bad I really liked this project, but i know it's a beast. Glad you held on to this for so long 👌

props for github.com/desktopui

elmehalawi commented 5 years ago

Same, this looked like a great alternative to building xib files in that shitty drag and drop editor. Thanks for all your work though.

pvinis commented 5 years ago

I guess Electron is always there to allow react to run on macOS, and with react-native-web it becomes pretty alright.

@ptmt did a great job on this repo, I've been following for a long long time, trying it out every now and then to see the progress. Well done, and I hope the work you did here is picked up and continued by others too.

❤️

aleclarson commented 5 years ago

Microsoft/react-native-macos may be a valid alternative. Not sure what its current status is.

eveningkid commented 5 years ago

@aleclarson do you have any idea how to give it a try? I'm not so sure they did something with this repo...

aleclarson commented 5 years ago

@eveningkid After a closer look, the 0.51-macos branch has all of the macOS-related changes. See here: https://github.com/facebook/react-native/compare/0.51-stable...Microsoft:0.51-macos

But the Issues tab isn't enabled, and they haven't touched it since July 2018, so it's probably not your best bet. 😅

ozgrozer commented 5 years ago

I've found Proton Native. Looks like it does the same job like this repo, cross platform native apps with React Native. Did anyone try it?

LukasBombach commented 5 years ago

Oh that's cool, I did not know proton. There is also https://github.com/parro-it/libui-node and there are also projects implementing react bindings for that

LukasBombach commented 5 years ago

Oh I just saw that Proton Native as well as libui-node, as well as https://github.com/mimecorg/vuido all build on top of libui, see https://github.com/andlabs/libui#language-bindings

ptmt commented 5 years ago

I'd say Proton-native is quite different in many ways, but yeah, it's libui-based so pros and cons are similar. There are other interesting projects: node-webrender, for instance. I'll try to setup a web-site for github.com/desktopui with the list of those, contributions are welcome!

On Thu, Jan 24, 2019 at 3:14 PM Ozgur Ozer notifications@github.com wrote:

I've found Proton Native https://github.com/kusti8/proton-native. Looks like it does the same job like this repo, cross platform native apps with React Native. Did anyone try it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ptmt/react-native-macos/issues/220#issuecomment-457176075, or mute the thread https://github.com/notifications/unsubscribe-auth/AA9SU4xeZVQPB6FoDhggXD8yWmnmNl_iks5vGaOagaJpZM4aJVqB .

ozgrozer commented 5 years ago

I just made a hello world app in Proton Native for MacOS and the .app file size is 53.1 mb. And node-webrender looks cool.

ericvicenti commented 5 years ago

@ptmt, thanks for your efforts on this repo! Incredibly brave effort to fork RN, and hopefully eventually we will have a solution that works with the code maintained by FB.

The future of react native on desktop platforms is bright, but slow moving. For hope, see: https://www.youtube.com/watch?v=iI2TdjitUS4

In the meantime, RNWeb or RNDom on top of Electron is probably the best solution 🙃

LukasBombach commented 5 years ago

I'd say Proton-native is quite different in many ways, but yeah, it's libui-based so pros and cons are similar. There are other interesting projects: node-webrender, for instance. I'll try to setup a web-site for github.com/desktopui with the list of those, contributions are welcome!

I really like this, I was also dabbling around with something like this, gathering info on the many ways you can build native desktop apps with JS. Can you share your Figma Mockup as a basis to create desktop apps with those different libraries? I guess you have something like https://hnpwa.com/ in mind, if you had a public mockup others could join in.

ptmt commented 5 years ago

@ericvicenti that gives us hope, thanks for sharing!

@LukasBombach Here it is https://www.figma.com/file/CfI5xukm95XQR9H88PTtKyii/Chat-app?node-id=0%3A1. Figma mockup here is really simple, just a basic Slack layout, although the app itself has some challenges such as inverted and virtualized ScrollView, or animation. When Electron version is finished, you can download and play it.

If you want to try to implement it in Proton-Native or any other framework just for fun let me know, I'll make you a contributor to https://github.com/desktopui/silver-bullet (it's a working title :)). I'll try to help as much as can, we can exchange React components, for example.

hnpwas

Sure is https://desktopui.github.io/silver-bullet//pwa/! Sorry, web-site is still a mess. I did one desktop PWA a year ago, and was impressed (and not just by how hard invalide ServiceWorkers properly :) ). Want to give it another try.

My roadmap: Playing more with Nuklear - (C GUI Toolkit in single .h file), Revery and webrender from Mozilla. I'll add 10 more frameworks on the web-site, maybe just posting links would be useful for somebody.

aleclarson commented 5 years ago

Anyone that wants to use React hooks with react-native-macos, please provide feedback on #226, which is a stepping stone towards the next stable React version (v16.8.0). Thanks!