tobiastimm / reason-react-hooks-example

Example project with reason-react, routing, graphql and hooks!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reason-react-hooks-example

Example project for ReasonML with Hooks, GraphQL, CSS-in-JS and testing!

This is the example project mentioned in my talk Hooked for a reason.

Quick start

Choose one of the following options:

  • Download the repository
  • Clone the git repo — git clone https://github.com/tobiastimm/reason-react-hooks-example.git

Features

  • reason-react >= 0.7.0 with React Hooks
  • reason-apollo with Queries and Mutations
  • Usage 3rd party icons like react-feather
  • Styling with bs-css
  • Testing with bs-jest and bs-react-testing-library

Contributing

I've recently started with ReasonML, so the code isn't perfect! Anyone is welcome to contribute.

License

The code is available under the MIT license.

About

Example project with reason-react, routing, graphql and hooks!

License:MIT License


Languages

Language:C++ 53.5%Language:OCaml 42.9%Language:JavaScript 2.9%Language:HTML 0.7%