I'm using React Native to build a mobile App. Also I have a similar Mac App, I'm wondering if React Native can be adapted for Mac, how difficult it is.
React Native solves this problem by offering React Native for Windows + macOS framework, enabling developers to build cross-platform desktop applications for Windows and macOS using only a single codebase. This cross-platform development ability provides React Native support for the Windows SDK and the macOS 10.14 SDK.
A Mac device is required to build projects with native code for macOS. Install Xcode version 11.3. 1 or newer.
If you are already familiar with mobile development, you may want to use React Native CLI. It requires Xcode or Android Studio to get started. If you already have one of these tools installed, you should be able to get up and running within a few minutes.
React Native - doesn't support native OS X app, it is geared towards mobile native applications.
Even though it doesn't seem to be easy to adapt the code to run as a native OS X app, there is at least one project that is attempting to do that (the author of the project states that this was a weekend hack project and therefore not production ready, but nonetheless a good start point):
https://github.com/ptmt/react-native-desktop
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With