Get updates via , Github, or RSS | About

Episode 34: Development Tips for React Native with Elm May 11, 2017

Episode 33 introduced developing React Native applications with Elm, but the development process was slow, to say the least. In this episode, we cover a few tips that will greatly decrease the time between saving a file and seeing the results in the simulator.

Examples

npm run watch

package.json

{
  // 
  "scripts": {
    "compile": "elm-make Main.elm --output elm.js",
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest",
    "watch": "chokidar '*.elm' -c 'npm run compile'"
  }
  // 
}