crna & expo & eject 命令行

brew install watchman


expo: npm run eject


yarn eject: https://stackoverflow.com/questions/44748213/convert-expo-project-to-original-react-native-project



yarn run eject


https://stackoverflow.com/questions/44356824/mobx-decorators-not-working



React, not in RN.

  1. create-react-app ExampleApp
  2. npm run eject
  3. npm install --saveDev babel-plugin-transform-decorators-legacy
  4. Update your .babelrc file as it is right now (with transform-decorators-legacy)
  5. npm install --save mobx mobx-react
相关文章
相关标签/搜索