React ---> React Native ! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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