Using Renative! Exploring the design space of how to use Haskell in different environments. This project is a work-in-progress and meant to be a template or an example for "real" applications.
See also TODO example <https://github.com/jyrimatti/renative-hs-example-todo> for a working example.
- Fork this repo.
- Do your Haskell under ./src
- install Nix. You should already have it.
git clone https://github.com/jyrimatti/renative-hs.git
./rnv.sh # Use 'rnproject' as project Name
./build.sh
./rnv.sh run -p web
For addons/plugins you need to add relevant registrations to ./register_addons.js, which is copied once to ./rnproject/src/register_addons.js on project initialization.
Shell with all the project dependencies
>>> ./shell.sh
Launch you default editor with all the project dependencies
>>> PKGS=./default.nix sh <(curl https://hs.lahteenmaki.net/editor)
>>> ./build.sh
>>> ./cleanbuild.sh
>>> ./cc.sh
- React-native doesn't seem to work on AndroidWear in Debug-mode (facebook/react-native#25580). Release mode works fine.