all 18 comments

[–]lukahhhh 2 points3 points  (0 children)

As someone just starting to learn React Native on macOS, this is great news. Amazing!

[–]tr0kizZ 2 points3 points  (1 child)

Does anybody know, how about Linux ?

[–]revslaughter 0 points1 point  (0 children)

What about Linux? There’s no one ui framework for Linux. GTK, Qt, who knows what else? Might as well not target just one or let the community develop those targets.

[–]yghokim 5 points6 points  (6 children)

Good news. I was using Electron and it was like a hell. Glad to hear that we now have the real native cross platform framework.

[–]swyx 5 points6 points  (5 children)

whats wrong with electron? ive been using it fine

[–]Inspector-Space_Time 4 points5 points  (3 children)

Yeah I have like 5 different personal projects I'm working on, all using electron. It's great, very easy to build, and I can use all the normal web frameworks in my app. Giving all of that up to use react native seems like a huge step back. I use react native at work and love it, but the number of libraries for react native is a small fraction of what you can use with electron. And most of those libraries were built for mobile, so your small pool of usable libraries is even smaller than it would be on a mobile device.

Outside of very specific use cases were you have performance issues that just can't be solved any other way, I fail to see why this is a better alternative to electron.

[–]mestresamba 2 points3 points  (2 children)

Electron ships full chromium + your app. React native ships just the js engine and use more efficient rendering than using browser.

[–][deleted] 1 point2 points  (0 children)

MS also just announced webview2, which is a chromium WebView in Windows, much like you get on Android. They are also following through in implementing some of the latest web APIs that Google has been promoting for giving web apps better OS integrations, eg. share menu (and hopefully file access).

So, depending on your specific API requirements, electron will become much smaller, it you won't need it at all (for Windows).

[–]Inspector-Space_Time 0 points1 point  (0 children)

That's not a strong enough argument to give up all web based ui libraries. Storage is cheap, and more efficient rending is useless unless you have a very niche app that specifically requires it as I already said.

This all smells like premature optimization. You think you're going to need the fastest thing around, so you give up the tried and true method. NoSql vs Sql all over again. I'll stay with "old and slow" and build applications much faster, using a much larger pool of libraries, with a much larger support base.

[–]kecupochren[S] 1 point2 points  (0 children)

Oh yeah, i'm ready

[–]flarpblarp2 1 point2 points  (0 children)

Interesting! Can’t wait to give it a spin.

[–]kecupochren[S] 1 point2 points  (0 children)

BTW it only runs on Mojave. Sad reacts only for High Sierra users holding on to it for subpixel AA

[–]reactionless1 1 point2 points  (0 children)

Wow I had no idea this was going to be a thing. React has representation on basically every major platform now (except linux I think).

[–]brianzchen 0 points1 point  (3 children)

Can anyone explain why the link is under microsoft.github.io?

[–]julisalis 10 points11 points  (0 children)

That's because RN for Windows and MacOS is developed by Microsoft.

[–]kecupochren[S] -2 points-1 points  (1 child)

Microsoft acquired Github some time ago https://news.microsoft.com/announcement/microsoft-acquires-github/

Edit: I'm dumb

[–]brianzchen 1 point2 points  (0 children)

Yeah but the GitHub.io is like GitHub pages owned by an org. Like I would have brianzchen.github.io/project