Skip to content

jyrimatti/renative-hs

Repository files navigation

React-Native in Haskell

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.

screenshot.png

Creating a new project

  1. Fork this repo.
  2. Do your Haskell under ./src

Trying out

  1. install Nix. You should already have it.
  2. git clone https://github.com/jyrimatti/renative-hs.git
  3. ./rnv.sh # Use 'rnproject' as project Name
  4. ./build.sh
  5. ./rnv.sh run -p web

Addons

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.

Haskell development

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)

Building and Continuous Compilation

>>> ./build.sh
>>> ./cleanbuild.sh
>>> ./cc.sh

Issues

About

Haskell-wrapper for renative.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published