React Native Learn Once, Write Anywhere
React Native Learn Once, Write Anywhere
React Native
Learn once, write anywhere.
https://reactnative.dev 1/8
28/2/24, 11:33 React Native · Learn once, write anywhere
Create native apps for Android, iOS, and more using React
React Native combines the best parts of native development with React, a best-in-class
JavaScript library for building user interfaces.
Use a little—or a lot. You can use React Native today in your existing Android and iOS
projects or you can create a whole new app from scratch.
https://reactnative.dev 3/8
28/2/24, 11:33 React Native · Learn once, write anywhere
App.js
Seamless Cross-Platform
React components wrap existing native code and interact with native APIs via React’s
declarative UI paradigm and JavaScript.
Body.js This enables native app development for whole
Header.android.js
new teams of developers, and can let existing native teams work much faster.
Header.ios.js Text
Text
Text
https://reactnative.dev 4/8
28/2/24, 11:33 React Native · Learn once, write anywhere
Fast Refresh
See your changes as soon as you save. With the power of JavaScript, React Native lets you
https://reactnative.dev 5/8
28/2/24, 11:33 React Native · Learn once, write anywhere
https://reactnative.dev 6/8
28/2/24, 11:33 React Native · Learn once, write anywhere
You can follow the latest news from the React Native team on Twitter
Follow @reactnative
The Meta Open Source team has put together a short overview of React Native, where
ELI5: React Native
they explained the project in beginner's terms.
Our community is always shipping exciting new projects and exploring platforms beyond
Android and iOS with repos like React Native Windows, React Native macOS and React
Native Web.
https://reactnative.dev 7/8
28/2/24, 11:33 React Native · Learn once, write anywhere
Give it a try
1. Run this
○○○
> npx react-native init MyTestApp
2. Read these
https://reactnative.dev 8/8