ReactJS is a framework for building a hierarchy of UI components. Each component has state and props. Data flows from the top to low-level components via props. The state is updated in the top-level component using event handlers.
React native uses React framework for building components for mobile apps. React native provides a basic set of components for both iOS and Android platforms. Some of the components in React Native are Navigator, TabBar, Text, TextInput, View, ScrollView. These components use native iOS UIKit and Android UI components internally. React native also allows NativeModules where code written in Objective-C for iOS and Java for Android can be used within JavaScript.
Note: React Native as a framework allows for the development of mobile apps in a similar syntax to HTML and CSS. React Native components effectively replace HTML in native development.