본문 바로가기

Mobile/React Native

Getting Started

반응형

1. Expo tools 
Xcode or Anroid Studio를 설치, 설정할 필요 없이 React Native를 가장 쉽게 시작 할 수 있다. Snack을 사용해서 web browser에서 바로 React Native를 사용해 볼 수 있다.

Hello World

import React, { Component } from 'react';
import { Text, View } from 'react-native';

export default class HelloWorldApp extends Component {
  render() {
    return (
      <View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
        <Text>Hello, world!</Text>
      </View>
    );
  }
}

 

 

 

https://expo.io/

 

Expo

A free and open source toolchain built around React Native to help you build native iOS and Android apps using JavaScript and React.

expo.io

https://snack.expo.io/

 

Snack - React Native in the browser

Try this project on your phone! Use Expo's online editor to make changes and save your own copy.

snack.expo.io

반응형

'Mobile > React Native' 카테고리의 다른 글

[React Native] Style  (0) 2019.09.23
[React Native] State  (0) 2019.09.23
[React Native] Props  (0) 2019.09.20
[React Native] Learn the Basics  (0) 2019.09.20
Expo, Create React Native App  (0) 2019.09.14