Ask HN: Is a React Native like approach to desktop apps better than Electron?
1–10 of 28 posts
Re: Ask HN: Is a React Native like approach to desktop apps better than Electron?
#2I think the guy who makes SumatraPDF did something along those lines with Swift and Golang, to build a Mac app.
Re: Ask HN: Is a React Native like approach to desktop apps better than Electron?
#3Re: Ask HN: Is a React Native like approach to desktop apps better than Electron?
#4React is great, but I really like the idea of multi-process desktop apps, where the rendering happens in one process and one or more controlling processes pipe events to and from it. That way you could use any language to build your controllers and the native render could be written in a different language that is native to the OS. I think the guy who makes SumatraPDF did something along those lines with Swift and Go…
Re: Ask HN: Is a React Native like approach to desktop apps better than Electron?
#5As far as I know it doesn't support s huge number of useful CSS, like Grids, variables, transitions, multiple border styles, text-transform...
Re: Ask HN: Is a React Native like approach to desktop apps better than Electron?
#6It's also arguably easier to make it look nice.
Re: Ask HN: Is a React Native like approach to desktop apps better than Electron?
#7React is great, but I really like the idea of multi-process desktop apps, where the rendering happens in one process and one or more controlling processes pipe events to and from it. That way you could use any language to build your controllers and the native render could be written in a different language that is native to the OS. I think the guy who makes SumatraPDF did something along those lines with Swift and Go…
That's pretty much what React Native is, but using JS as the control and React's declarative API.
Re: Ask HN: Is a React Native like approach to desktop apps better than Electron?
#8It 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 better than Electron?
#9It 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 better than Electron?
#10It 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.
Huh? There are thousands of successful apps doing exactly that. The browsers Electron builds upon are the prime example!