cedretaber / reasonreact-hooks-exer

An exercise for ReasonReact + React Hooks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hooks Exercise

CircleCI

Set up ppx_let for BuckleScript

You should have installed OCaml 4.02.3 and ppx_let.

$ pwd
path/to/hooks-exer

$ mkdir ppx_let

$ cd ppx_let

$ yarn init

$ opam switch 4.02.3

$ ln -s `opam config var ppx_let:lib`/ppx ppx

$ yarn link

$ cd ..

$ yarn link ppx_let

Build and Watch

$ yarn build

$ yarn webpack

Server start

$ yarn server

Test

$ yarn test

About

An exercise for ReasonReact + React Hooks.


Languages

Language:OCaml 80.2%Language:TypeScript 12.2%Language:JavaScript 3.7%Language:Dockerfile 2.3%Language:HTML 1.6%