Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is react-native good for both web development and mobile development

I have to do a project that includes a mobile app and a web app. So I choose the React.js for the web application and the react-native for the mobile app. Both mobile and web have the same functionalities. If I choose react native for both, is it better or not.

As well as I want to know, although the functionalities of mobile and web app are different, is it better to use React Native for both?

like image 327
ddmmcc Avatar asked Jun 06 '20 14:06

ddmmcc


People also ask

Can I use React Native for web and mobile?

Can React Native be used for web and mobile? Yes! With React Native for Web, developers can write a single React Native application that can run natively on Android and iOS, as well as on a web browser using standard web technologies.

Is React Native good for mobile app development?

React Native neatly solves that problem. Coming on the heels of ReactJS, the purpose of React Native was to facilitate the creation of mobile apps. It's simple: if you can code an app once in JavaScript and deploy it both to Android and iOS, your life gets a lot easier.

Is React Native also used for web development?

It can be used in new and existing apps, web-only and multi-platform apps. React Native for Web uses React DOM to accurately render React Native compatible JavaScript code in a web browser.

Is a React Native developer a mobile developer?

React Native is an open-source mobile application by Facebook used to develop Android and iOS apps. It leverages the Reactjs library making it easy for Reactjs developers to dive into mobile development while maintaining the same programming language and tech stack.


1 Answers

It depends on your requirements and choice.

React Native supports for the Web from version >= 0.60. If both of your mobile application and Web application will have almost the same features, then go for React Native for Web. Then you can write your code once and use it on all Android, iOS, and Web platforms. You can save your time a lot in that case.

But, if your web application will have different functionalities, I recommend you to go with React JS. You can use wonderful libraries such as material-ui for your UI designs.

Like that, both options have pros and cons. So, it depends on your requirements and choice.

like image 194
Sennen Randika Avatar answered Sep 28 '22 01:09

Sennen Randika