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
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'"
}
// …
}