Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
NotificationsYou must be signed in to change notification settings

2BTech/RNDataDisplayApp

Repository files navigation

This is a newReact Native project, bootstrapped using@react-native-community/cli.

Getting Started

Note: Make sure you have completed theReact Native - Environment Setup instructions till "Creating a new application" step, before proceeding.

Step 1: Start the Metro Server

First, you will need to startMetro, the JavaScriptbundler that shipswith React Native.

To start Metro, run the following command from theroot of your React Native project:

# using npmnpm start# OR using Yarnyarn start

Step 2: Start your Application

Let Metro Bundler run in itsown terminal. Open anew terminal from theroot of your React Native project. Run the following command to start yourAndroid oriOS app:

For Android

# using npmnpm run android# OR using Yarnyarn android

For iOS

# using npmnpm run ios# OR using Yarnyarn ios

If everything is set upcorrectly, you should see your new app running in yourAndroid Emulator oriOS Simulator shortly provided you have set up your emulator/simulator correctly.

This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.

Step 3: Modifying your App

Now that you have successfully run the app, let's modify it.

  1. OpenApp.tsx in your text editor of choice and edit some lines.

  2. ForAndroid: Press theR key twice or select"Reload" from theDeveloper Menu (Ctrl +M (on Window and Linux) orCmd ⌘ +M (on macOS)) to see your changes!

    ForiOS: HitCmd ⌘ +R in your iOS Simulator to reload the app and see your changes!

Congratulations! 🎉

You've successfully run and modified your React Native App. 🥳

Now what?

Troubleshooting

If you can't get this to work, see theTroubleshooting page.

Learn More

To learn more about React Native, take a look at the following resources:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp