일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 박스#강아지집#만들기
- 피온4
- 혼술 술자리 인싸앱
- 내일배움카드
- 부의감각
- 안드로이드 그림판#그림메모장#낙서장
- K디지털크레딧
- 랜덤스쿼드
- 패스트캠퍼스
- #FIFAONLINE4
- 스쿼드 메이커
- 강아지 스마트 펜스
- Ai
- 불끌때
- 랜덤
- 자바 인강
- 안드로이드 #앱개발#계산기
- 강아지 #박스집 #복층
- fifaonline
- 안드로이드
- 바이트디그리
- Java & SpringBoot로 시작하는 웹 프로그래밍
- 독서감상문
- D-ID
- 안드로이드#앱만들기#알바
- fifaonline4
- 안녕 디지몬
- 홈CCTV
- 부르지마세요
- 아두이노#작품#사료급식기
- Today
- Total
LC Studio
React Native 개념잡기 Learn the Basics #1 본문
Learn the Basics
React Native is like React, but it uses native components instead of web components as building blocks.
React Native는 React(웹 프레임워크)입니다.
빌딩 블록으로 web components를 사용하지 않고 native components를 사용합니다.
So to understand the basic structure of a React Native app, you need to understand some of the basic React concepts, like JSX, components, state, and props.
React Native app의 기본 구조를 이해하기 위해서는 JSX, componets, state 그리고 props 등 몇몇 기본적인 React concepts에 대해 알아야 합니다.
If you already know React, you still need to learn some React Native specific stuff, like the native components. This tutorial is aimed at all audiences, whether you have React experience or not. Let's do this thing
React(웹 프레임워크)에 대해 알고 있더라도, natice components 등 React Navite의 구체적인 부분에 대해 배울 필요가 있습니다. 이 tutorial은 Reaact 경험 유무의 상관없이 모든 사람에게 해당됩니다. 시작해봅시다.
Hello world
In accordance with the ancient traditions of our people, we must first build an app that does nothing except say "Hello, world!". Here it is:
개발자들의 옛 전통에 따라 첫 앱은 "Hello, world!"라는 단어를 제외하고는 아무것도 안나오게 만들어 보겠습니다.
다음과 같습니다.
import React from 'react';
import { Text, View } from 'react-native';
const HelloWorldApp = () => {
return (
<View
style={{
flex: 1,
justifyContent: "center",
alignItems: "center"
}}>
<Text>Hello, world!</Text>
</View>
)
}
export default HelloWorldApp;
If you are feeling curious, you can play around with sample code directly in the web simulators. You can also paste it into your App.js file to create a real app on your local machine.
호기심이 느껴지신다면, 웹 시뮬레이터에 예제 코드를 가지고 여러가지 적요애 보세요. 그리고 App.js에 붙여넣어 local machine에 실제 앱을 만들수도 있습니다.
'React Natice' 카테고리의 다른 글
React Native 개념잡기 Learn the Basics #4 (0) | 2022.02.21 |
---|---|
React Native 개념잡기 Learn the Basics #2 (0) | 2022.02.01 |