.c.f.

Building

Ensure thet you package.json file has an line similar to:

  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest",
    "build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/the-app-name/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'"
  }

Then:

npm run build:ios

React Native 0.57.3

0.57.3 has been released and if you’ve tried creating a new project with it you might have experienced a crash when running your app. A fix should be in the next version, but in the meantime, run the following code to get back up and running.

rm -rf node_modules/ && yarn cache clean && yarn install && rm -rf ~/.rncache

cd ./node_modules/react-native/scripts
./ios-install-third-party.sh
cd ../../..

cd ./node_modules/react-native/third-party/glog-0.3.5
./configure
cd ../../../..

YellowBox warnings

React Native’s YellowBox warnings can be disabled via:

console.disableYellowBox = true

Also, own warnings via

console.warn("I'm broken, get someone to fix, to fix, to..")

Go & React Native

Learning

UWP

  • MS article on using React Native and UWP.

WPF

Run the tutorial

Don’t forget Exponent

And you will need to learn JSX

Links to be filed or read

Expo (Exponent) & React.Native