DEV Community

Discussion on: Teach me like I'm 5! Difference between ReactJs and React Native

Collapse
 
kreativekaran profile image
Karan Desai

Thank you for the response :)

This means, react or reactjs is used to develop web application while react native is used to develop mobile application?

If my understanding is correct, is there any way to develop both web and mobile application using either reactjs or react native? is it possible? or if i develop mobile application using react native can I anyhow reuse/plug it's code (or something) in reactjs to develop web?

Collapse
 
jkhaui profile image
Jordy Lee

Best listen to Sung's advice. I'm not sure as I haven't worked much with React Native.

Collapse
 
dance2die profile image
Sung M. Kim

Let me introduce you to React Native for Web.

It aims to use React Native code publishable for the web.

It's written by Nicolas Gallagher, the one who wrote Twitter lite.

Thread Thread
 
kreativekaran profile image
Karan Desai

Thanks for sharing this

Thread Thread
 
dance2die profile image
Sung M. Kim

You're welcome.