React Native

Jeane·2021년 5월 23일
0

?

  • 리액트 컴포넌트를 네이티브 컴포넌트로 컴파일 해주는 라이브러리
  • 리액트를 사용해 네이티브 앱을 만들 수 있음
  • 안드로이드와 iOS 두 플랫폼 모두 단일의 코드 베이스로 만들 수 있음

Core Components & APIs

Basic Components

View

  • 가장 기본적인 컴포넌트
  • flexbox, style, touch handling, accessibility control을 지원하는 컨테이너 레이아웃

Text

  • 텍스트를 표시하기 위한 컴포넌트이며 텍스트는 반드시 여기에 써야함
  • 중첩, 스타일, touch handling 지원

Image

TextInput

ScrollView

StyleSheet

UI

Button

  • 최소한의 속성만 지원하므로 커스터마이징 할 때는 Touchable~Text를 혼합해서 쓰는 게 나은듯
  • 커뮤니티 참고

Switch

List Views

FlatList

SectionList

iOS

ActionSheetIOS

Android

BackHandler

DrawerLatyoutAndroid

PermissionsAndroid

ToastAndroid

Others

ActivityIndicator

Alert

Animated

Dimensions

KeyboardAvoidingView

Linking

PixelRatio

RefreshControl

StatusBar

1개의 댓글