Home > Software design >  Can I use react native for developing only desktop app(windows macos)?
Can I use react native for developing only desktop app(windows macos)?

Time:09-16

Helo, I am new in making desktop application and I need some help. I need to make a desktop app using React library. Can I use React native for that? I don't need to make an app for mobile devices, only desktop version.

If React native is a bad choice, please tell me why. And what should I try instead of react native?

But if it's ok, сould you give me sources for learning react native development besides the official documentation?

CodePudding user response:

You can write a regular react app and then transform it to a desktop with electron, check out this article.

Another solution, if you're working on a large-scale enterprise application, is to create your own react renderer (like react-dom or react native) that will take the react components tree and when will renderer them to a native desktop application.

CodePudding user response:

You could use electron for that. You can check here how to set up an electron project. And here how to add react

  • Related