안녕, 세상은 여기 있어.
React Native에서 응용 프로그램을 작성하려면
npx react-native init app_name


응용 프로그램을 실행하려면
npx react-native run-android

import React, {Component} from 'react';
import {Platform, StyleSheet, Text, View} from 'react-native';
export default class App extends Component {
render() {
return (
<View>
<Text>Hello World</Text>
</View>
);
}
}
노드 터미널에서 "R"키를 누르면 코드를 새로 고칩니다. 새로 고침하기 전에 저장하는 것을 잊지 마십시오.
이것이 바로 Hello World의 주제입니다.)
코드를 수정해서 더 잘 이해하도록 시도해 보세요.
Reference
이 문제에 관하여(안녕, 세상은 여기 있어.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/gouravmpk/hello-world-in-react-native-54jm텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)