Hacker News new | ask | show | jobs
by satvikpendem 2338 days ago
I've been tinkering with React Native and it looks like you can do something quite similar to Proton Native here, while also targeting mobile platforms. Here is how you can cover the gamut of platforms:

- iOS and Android - React Native - Web - React Native Web - macOS - Apple's Project Catalyst (run iPad apps on macOS) - Windows - React Native Windows by Microsoft - Linux - none yet, you could use Electron but that's undesirable

Perhaps one could instead use Proton Native for desktop and React Native for mobile, I wonder what the code sharing capabilities are for that.

2 comments

The reason I did not add a renderer to React Native and went with my own renderer and reconciler was because mobile and desktop behave differently. The goal of the project is to make sure you can copy almost all your code from React Native, but not hinder usability. For example, you can define multiple windows in Proton Native and I intend to add more props to that soon.
I'm doing something similar (also in my free time), how about joining our forces? https://github.com/cztomsik/graffiti
> Linux - none yet

There was https://github.com/justinmcp/react-native/tree/ubuntu, but I've long since stopped working on it.