React ---> React Native ! | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

React ---> React Native !

Hi, I know that something like react native exists with which we are able to creaty Native apps for Android/IOS/what are other OS🤔.....Anyway... So , If I create some kindof WebApp using 'React'. Then ⚫ Is it possible to create native app from thar WebApp or I have to start from Scratch to create a native app ? ⚫If we can , What effort and resources it would take to transform that WebApp into a native app using React Native ?

23rd Jul 2020, 3:47 AM
Monkey D. Luffy
Monkey D. Luffy - avatar
5 Réponses
+ 11
See ReactJs and React Native are two different libraries. There's no way u can automatically convert a ReactJs code to React Native. However there's one way around which is literally not converting instead showing a web app in Android WebView. Consider it like a <iframe> where u can just insert the URL of your web app. 😅 Ofcourse it will not feel like a app rather we are just displaying a website embedded in it 😅
23rd Jul 2020, 6:23 AM
Aakaanksha 💕 [TheBraveCoders]
Aakaanksha 💕 [TheBraveCoders] - avatar
+ 5
For sure there is no way to actually convert React to React Native other than writing code.
23rd Jul 2020, 4:31 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 2
React Native Web is used for building webApp too
23rd Jul 2020, 4:51 AM
Calviղ
Calviղ - avatar
+ 1
You can reuse some of react code in native too
16th Aug 2020, 3:06 AM
ABHISHEK TS
ABHISHEK TS - avatar
0
Thanks, 🔫 Rick Grimes Aakaanksha 💕 So, That means i have to write code from scratch to make native analog of webapp. Right ?
23rd Jul 2020, 8:24 AM
Monkey D. Luffy
Monkey D. Luffy - avatar