Live data from Hacker News

React Desktop – React UI Components for OS X El Capitan and Windows 10

github.com

11–20 of 74 posts

Re: React Desktop – React UI Components for OS X El Capitan and Windows 10

#11
post #3

The components look nice but they're not really native like I had initially thought. Are these necessarily better or different than existing styles that reproduce these components? Anyway, I would love to see these come in native form like reactive-native.

Do you mean react-native, or is there a reactive-native I'm unaware of?

I meant react-native and I couldn't update my comment when I noticed =/

Re: React Desktop – React UI Components for OS X El Capitan and Windows 10

#12
post #4

Please forgive the simple question, but... Why does this exist? Is creating desktop programs out of HTML code really a good idea?

This is the question I was going to ask. It seems like porting many of the poor decisions that were made in creating the web to native desktop.

Re: React Desktop – React UI Components for OS X El Capitan and Windows 10

#13

Earlier quoted context omitted.

Because NodeJS is popular and desktop apps were getting small and efficient so we crammed a 30MB Chrome runtime in there.

Actually it's more like this: That ugly language called Javascript that everyone derided and said was "too shit and slow to ever write a Demo in" back in the 90s when all the "real developers" were writing server side scripts in Perl and left the frontend people to their own devices caught up with them. They kept pushing the boundaries, discovering things like XMLHttpRequest, and using that crap little language. Even…

Yep. If this is the only thing stopping native apps from disappearing completely then it's probably a good thing.

Re: React Desktop – React UI Components for OS X El Capitan and Windows 10

#14
Man it's great to see effort being put into a platform-sensitive React component set. We've been working on React components for N1, and it'd be cool to swap them out for an open source set one day. The thing is, I'm not sure 100% native appearance is the way to go. I think Spotify nailed a cross-platform desktop experience using a UI that is distinctly non-native.

For folks just learning about Electron / web-based desktop UI — we gave a talk about UI considerations at the Bay Area ElectronJS meetup last month: https://www.youtube.com/watch?v=JIRXVGVPzn8

Re: React Desktop – React UI Components for OS X El Capitan and Windows 10

#15

Earlier quoted context omitted.

Because NodeJS is popular and desktop apps were getting small and efficient so we crammed a 30MB Chrome runtime in there.

Actually it's more like this: That ugly language called Javascript that everyone derided and said was "too shit and slow to ever write a Demo in" back in the 90s when all the "real developers" were writing server side scripts in Perl and left the frontend people to their own devices caught up with them. They kept pushing the boundaries, discovering things like XMLHttpRequest, and using that crap little language. Even…

Except the perl kids weren't cool (I was one of them) because they didn't write c++, and they weren't cool because they didn't write assembly, and on on!

Re: React Desktop – React UI Components for OS X El Capitan and Windows 10

#16
post #12
post #4

Please forgive the simple question, but... Why does this exist? Is creating desktop programs out of HTML code really a good idea?

This is the question I was going to ask. It seems like porting many of the poor decisions that were made in creating the web to native desktop.

But that's the point of React - providing an abstraction layer over the poor decisions that were made in creating the web.

Apart from Javascript, of course. But that particular "bad decision" is getting modified with every version into something more acceptable ("now with classes!").

I guess the endpoint is that React + Javascript (+ Redux) becomes the defacto language for developing UIs in, and what implements that abstraction layer is immaterial. React-native all the things!

Re: React Desktop – React UI Components for OS X El Capitan and Windows 10

#18
post #7

The widgets aren't native, which would be about a thousand times cooler. They are fakes made out of CSS.

Here’s a real reactive-native for desktop OS X Cocoa I found:

https://github.com/ptmt/react-native-desktop

Currently just "hacking weekend" level maturity. https://github.com/facebook/react-native/issues/247#issuecom...

I have never actually tried it, but this one is real native controls. It’s on my TODO list…

Re: React Desktop – React UI Components for OS X El Capitan and Windows 10

#19

On OS X, how will these components interact with the accessibility features?

I would guess that it does not interact with accessibility now.

These components are just bunch of styles to make it look like a 'native' widget, though it's not a real native widget of OS.

Though, it leaves me with a question, how can you set up OS X accessibility features, in your web app/UI, that it could be used by OS X? I would guess you can't, and it's all left to the browser.

Re: React Desktop – React UI Components for OS X El Capitan and Windows 10

#20
post #4

Please forgive the simple question, but... Why does this exist? Is creating desktop programs out of HTML code really a good idea?

Because working with things like GTK and QT is horrible compared to working with HTML/JS/CSS, for anything other than trivial things.

That said, it'd be cool to have native code generation from this though.

Post reply on HN