Hatem Saadallah
Hatem Saadallah

Reputation: 140

How to port my react code into a mobile app

React Noobie here. I'm having a problem in converting my React Application into an app, either chrome, ios, or android. My code works perfectly on the web browser (I happen to use Material UI which cause a hell lots of trouble). So I am looking for any fast, easy way to turn it into an application that can run.

If there's a way to turn a web application into an app locally.

Thank You So MUCH in advance!!!

Upvotes: 0

Views: 2202

Answers (2)

Ehsan Sarshar
Ehsan Sarshar

Reputation: 3211

React native is different from React.js. for example in react you have "div" in react native you have "View" and it's a native view. you should rewrite your app with react native. and you can use the same code for web as well with the help of react native web.

but you have other options as well you can convert your app to PWA or a hybrid app

Upvotes: 1

Murmeltier
Murmeltier

Reputation: 613

Well... Do you really need react-native? My suggestion is to pack your application into cordova and use it there. Some info about that

Upvotes: 0

Related Questions