LoginSignup
9
7

More than 5 years have passed since last update.

React Native事始め。macOSでReact Nativeの開発環境を準備する

Posted at

必要なものを入れる

まずはHomeBrew入れておきます。

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

必要なパッケージを入れる。

brew install node
brew install watchman

React Native CLIを入れる。

npm install -g react-native-cli

開発環境

Atom + React Nativeパッケージで開発します。

Atomは下記からダウンロード
https://atom.io/

Atomのパッケージインストールで下記を入れる。
- atom-react-native-autocomplete
- atom-react-native-css

デバッグ環境

chromeのConsoleで可能ですがStandaloneのDebuggerの方が諸々便利なので入れておきます。

brew cask install react-native-debugger

まとめ

開発環境までの準備も非常に簡単ですぐに始められるのが良いですね。

Please enjoy React Native.

参考URL

React Native公式
https://facebook.github.io/react-native/docs/getting-started.html

React Native Debugger
https://github.com/jhen0409/react-native-debugger

9
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
7