News for hackers. Stuff that matters.
Re:Ask HN: Is a React Native like approach to desktop apps b... by cjbprime on Friday May 04, 2018 @02:58PM (#16997267)
It can be in theory, but in practice managing native widgets across all major platforms is such a mammoth project that it's almost impossible. People have been trying for decades, rarely with success.
Re:Ask HN: Is a React Native like approach to desktop apps b... by AlikhanPeleg on Friday May 04, 2018 @03:28PM (#16997493)
The .net has Eto.Forms which does something similar

https://github.com/picoe/Eto

Re:Ask HN: Is a React Native like approach to desktop apps b... by mhasbini on Friday May 04, 2018 @04:53PM (#16998236)
libui[0] is C library that aims to provide this. It have many (WIP) language bindings.

[0] https://github.com/andlabs/libui

Re:Ask HN: Is a React Native like approach to desktop apps b... by izacus on Friday May 04, 2018 @03:29PM (#16997498)
Huh? There are thousands of successful apps doing exactly that. The browsers Electron builds upon are the prime example!
Re:Ask HN: Is a React Native like approach to desktop apps b... by dyeje on Friday May 04, 2018 @03:44PM (#16997598)
How so? They are rendering HTML, not native elements.
Re:Ask HN: Is a React Native like approach to desktop apps b... by chillacy on Saturday May 05, 2018 @01:50PM (#17002830)
They probably mean the underlying browsers like chrome or Firefox.
Re:Ask HN: Is a React Native like approach to desktop apps b... by gt2 on Tuesday May 08, 2018 @09:55AM (#17020870)
You could say that's why web won. OP should ask (and perhaps share with us) why the native widgets are important, genuinely interested!