React ---> React Native ! | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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