I’m listing down set of categories that shows how mobile app development is different than web app development using react —
Origin and Architecture: Both developed and open-sourced by Facebook Inc., React Native follows ReactJS’s basic architecture and promotes a component-based approach to building mobile screens. They share similar lifecycle methods.
UI Components:
- ReactJS: Uses HTML tags like div, span, etc.
- React Native: Uses components like View and Text from the React Native library.
Platform and Browser Features:
- ReactJS: Built for web applications, allowing access to browser features like the window object and local storage.
- React Native: Built for native platforms, lacking access to browser-specific features.
GitHub Projects: ReactJS and React Native are separate open-source projects on GitHub.
Feature Implementation: New component architecture features are first implemented in ReactJS and later added to React Native.
Development Tools: Both frameworks have different tools for getting started with development.
Static Type Checking:
- React Native: Comes with static type checking enabled by default.
- ReactJS: Requires additional steps to enable flow static type checking.
The above list of differentiation make clear how react and react native are works and different.
Leave a Reply