Shows how to make a button that modifies internal state - it increments a counter
These examples were built with expo and spago.
npm install spago expo-cli --global
spago install
spago build
npm install
npm run start
ornpm run ios
ornpm run android
ornpm run web
(for web-based app preview)
The entry point for the app is in App.js
. Note that the compiled PureScript code is imported, and then called in the render
function.