1.

How mobile app development with React Native is different than web app development with ReactJS

Answer»

ReactJS and React native, both are developed and open sourced by FACEBOOK Inc. React native FRAMEWORK follows the React JS framework's basic architecture. React native also promotes a component-based approach to build MOBILE screens. All the React natives possess similar lifecycle methods which are exposed by React js component. But still, there are a few differences between ReactJS and React Native

  1. We USE div, span etc. HTML tags to build the UI of the web application but in case of React Native, we use View, Text imported from React Native library.
  2. Since React Native is used to developing for Native platform, we can’t access the browser features like window object, local storage etc…
  3. React JS and React native are two different open source project on Github.
  4. Any new feature related to component architecture first implement by ReactJS and then support is added in React Native framework.
  5. Both have different tooling for getting started with development.

React native comes with static TYPE checking tooling enabled by default but you need to perform few steps to enable flow static type checking in React project.



Discussion

No Comment Found