What is React Native?
React Native lets you build mobile applications using JavaScript and React. Unlike other cross-platform frameworks, React Native apps are built with real native components, not web views. This means your app looks, feels, and performs like a native application.Core Building Blocks
React Native apps are built from several fundamental concepts:Components
Reusable UI building blocks like View, Text, and Image
React Fundamentals
Props, state, hooks, and component lifecycle
User Input
Handling text input and form data
Lists
Efficiently rendering scrollable lists of data
Platform-Specific Code
Writing code that adapts to iOS and Android
Networking
Fetching data from APIs and web services
Navigation
Moving between screens in your app
Native Components
React Native uses native platform components under the hood. When you write:UIViewandUILabelon iOSandroid.view.ViewandTextViewon Android
JavaScript and Native Bridge
React Native runs your JavaScript code in a JavaScript engine (JavaScriptCore on iOS, Hermes on Android by default). Communication between JavaScript and native code happens asynchronously over a “bridge”.Development Workflow
Key Differences from React Web
While React Native shares many concepts with React for web, there are important differences:| Aspect | React Web | React Native |
|---|---|---|
| Components | <div>, <span> | <View>, <Text> |
| Styling | CSS files | JavaScript StyleSheet |
| Events | onClick | onPress |
| Scrolling | Native overflow | <ScrollView> |
| Navigation | React Router | React Navigation |
Next Steps
Start with React Fundamentals if you’re new to React, or dive into Components and APIs to learn about React Native’s building blocks.New to React?
If you’re new to React, start with the React Fundamentals guide to learn about props, state, and hooks.