Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
create-react-native-app
Advanced tools
Readme
The fastest way to create universal React Native apps
npx create-react-native-app
Once you're up and running with Create React Native App, visit this tutorial for more information on building mobile apps with React.
npx create-react-native-app
Create a new native React app.yarn ios
-- (expo run:ios
) Build the iOS App (requires a MacOS computer).yarn android
-- (expo run:android
) Build the Android App.yarn web
-- (expo start:web
) Run the website in your browser.By default you create a bare-workflow React project with support for iOS, Android, and web. You can opt to use an example project instead by selecting the "Templates from ..." option. Custom templates can be used with --template <Example Name or GitHub URL>
option.
npx create-react-native-app -t with-typescript
npx create-react-native-app --template https://github.com/someone/my-react-starter
-- Only works with GitHub repos on the master branch.Expo Client enables you to work with all of the Components and APIs in react-native
, as well as the JavaScript APIs that the are bundled with the Expo App.
Expo Client supports running any project that doesn't have custom native modules added.
npm i -g expo-cli
expo start
If you're having issues with Create React Native App, please make sure:
If you've checked the documentation and currently open issues, please either open a new GitHub issue or ask a question on Expo forums.
Please see Contributing guide in the Expo CLI monorepo for instructions on contributing to Expo CLI.
The examples feature was inspired by the templates
system of create-next-app by the Vercel team.
CRNA is focused on being the fastest way to bootstrap a React Native app without worrying about the native platforms or bundlers required for developing and shipping apps. Other tools provide both an init script (which is slower) and a suite of other tools that can be used for interacting with the project. CRNA is meant to be used with any of the following tools:
Thanks goes to these wonderful people (emoji key):
Evan Bacon 💻 📖 🎨 🚧 👀 | Brent Vatne 💻 📖 👀 | Hamza Halilovic 💻 | Cedric van Putten 💻 | Ville Immonen 💻 👀 | Frieder Bluemle 💻 | Kim Brandwijk 💻 |
Nirav 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
Create React Native apps with no build configuration.
The npm package create-react-native-app receives a total of 1,331 weekly downloads. As such, create-react-native-app popularity was classified as popular.
We found that create-react-native-app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 34 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.