This post is all about React V/s React Native. First of all, we will understand what they are and what are the differences between them.
Jordan Walke and his team from Facebook released the React JS library in 2011. Dynamic and high performing User Interface(UI) was the goal to develop React.js.
A JavaScript library which brought together the speed of JavaScript and a new way of rendering pages, leading to responsive and dynamic user input. Two years after the team Open Sourced React.js they also released React Native in 2015.
React.js (React or ReactJS)
A JavaScript library which is responsible for building a hierarchy of UI components. In other words, we can say which responsible for the rendering of UI components. Provides support for both frontend and server-side. Remember, React.js is just the V part of the MVC framework, a library meant for rendering your views.
React Native
A framework for building native applications using JavaScript, so you can say that it does not run the HTML code with JS in web view using native web APIs so it is not a hybrid app development platform. It compiles to native app components, which makes it possible for you to build native mobile applications.
React V/s React Native
React | React Native |
React is the base abstraction of React DOM for the web platform | React is the base abstraction so the syntax and workflow remain similar, but the components are different. |
A JavaScript library you use for constructing a high performing UI layer. | An entire platform allowing you to build native, cross-platform mobile apps. |
Browser code in React is rendered through Virtual DOM | Native APIs to render components on mobile. |
HTML for UI. | JSX components for UI. |
CSS for Styling. | The stylesheet for Styling. |
Can do animation with the CSS like normal web development. | Have to use the animated API which comes with React Native to animate different components of your application |
Ideal for building dynamic, high performing, responsive UI for your web interfaces | It is meant to give your mobile apps a truly native feel |
If you still have any doubt about the topic you can comment below or contact us here.
Hope you liked it 🙂
Great Tutorial ! It will be even greater if you make a step by step start to finish project tutorial.
Thank you again
Sure. Thanks for the suggestion. 🙂