So What is React native let’s start the react part also known as React.js which is the name of that library I do expect that you know what react.js is you don’t have to be an expert in react.js but you should know what react.js.
web app but it’s important to understand that react itself the library actually make on assumption about what we’re building with a because it’s actually another library which you’ll also use when you’re building a web app with react that is responsible for rendering
something onto the screen and that’s the react don library.
Now in every react for web project you’re working on you will call reactDOM.
render some point of time and hand of the react app to that method to actually render something onto the screen and that’s the library that knows about the web and knows how to render HTML elements and so on.
React itself is platform-agnostic it’s just a library that good at building trees of component,
finding out whether something changed is something that needs to be re-rendered, of managing state.
of possing data around but it does so in an abstract way which is why you can use react on any platform you’re not restricted to the browser, to HTML to the web you can use the logic react gives you anywhere,it’s the react-dom part that then knows how to work him
HTML and so on and that is super important to understand because that’s important when we think about react-native.
React native is a separate library which in the end is a collection of special react
are special because react-native actually knows how to translate them how to compile these components to native widgets for iOS and for android So react-native kind of is like react-dom .
It knows how to talk to the native platform to android and iOS and how to render native widgets and it gives you a bunch of these widgets as react components so that you can build a user interface with these components so to say because you won’t be able to use your regular divs and h1 and paragraph tags in react native apps because there are no direct equivalents for that in native code but I’II come back to that now besides giving you these components.
so you get a real native mobile app as a result in the end