入门:
导入过程中可能会遇到一些坑:
个人遇到的:
环境配置时安装Node.js报错:Node.js not linked error
sudo brew uninstall node
brew update
brew upgrade
brew cleanup
brew install node
sudo chown -R $(whoami) /usr/local
brew link --overwrite node
brew postinstall node
Yoga报错,

解决办法:
如果你的RN版本 >= 0.42.0,请加入下面这行
pod "Yoga", :path => “ ./node_modules/react-native/ReactCommon/yoga"
运行后报错:No bundle URL present.
解决办法:
是因为没有启动本地的RN开发服务器。控制台在RN所在目录下运行react-native start