Overview
The ReasonReact Starter is a minimal yet powerful template that includes all the necessary dependencies to start developing with ReasonReact. It provides a scalable folder structure, a router, unit and integration testing, CSS-in-JS, and various other features. The template also has plans to include web APIs, themes, forms, GraphQL integration, authentication, and websockets.
Features
- Folder Structure: The template includes a scalable folder structure to organize your code effectively. More details can be found in the README files.
- Routes: ReasonReact comes with a built-in router, and the template includes two examples of how to use it.
- Tests: Unit and Integration Testing is supported with Jest and React Testing Library.
- Styles: CSS-in-JS is supported with bs-css and re-classnames.
Installation
To get started with the ReasonReact Starter, follow these steps:
- Clone the repository without any history:
git clone --depth 1 https://github.com/cironunes/reasonreact-starter.git - Run the project.
- Open a new web page and navigate to http://localhost:1234/.
- Make changes to any .re file in the src folder, and the page will auto-reload.
Summary
The ReasonReact Starter is a comprehensive template for developing ReasonReact applications. It provides a range of features such as a scalable folder structure, routing, testing, and CSS-in-JS. The template also has plans to include web APIs, themes, forms, GraphQL integration, authentication, and websockets. With its minimal yet powerful setup, the ReasonReact Starter is a great choice for developers starting out with ReasonReact.