Can we develop a web and mobile application (Android, iOS, web) with single code base by using React Native?

Viewed 389

Can you please help with this.

I am trying to develop mobile and web apps using react native with single code base for web, android and ios. Can we Develop Web and Mobile Application with single code base by using React Native?

1 Answers

The simple answer is yes. However, there are a lot of caveats that you could encounter along the road with certain device requirements and functionality where you may have to write conditional code, but it could still stay in the same codebase.

The easiest way to get started is by using Expo (https://expo.io), which would let you get started with a project that could be run on Android, iOS, and the Web (via React Native Web) all with very minimal setup on your part.

Related