Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zth/reason-relay-playground
https://github.com/zth/reason-relay-playground
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zth/reason-relay-playground
- Owner: zth
- Created: 2020-10-03T16:31:13.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-03T16:31:34.000Z (almost 4 years ago)
- Last Synced: 2024-05-11T23:34:36.459Z (4 months ago)
- Language: Reason
- Size: 142 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-list - reason-relay-playground
README
# reason-relay-sample
This repository contains a playground for testing out ReasonRelay. It focuses on exploring suspense, concurrent mode and a few other new Relay features like partial rendering of views.
## Usage
### Recommended setup
You're encourage to do the following to get the best possible experience of trying this repo out:
1. Install the [ReasonRelay VSCode extension](https://marketplace.visualstudio.com/items?itemName=GabrielNordeborn.vscode-reason-relay)
2. Open the `client` folder in VSCode, _not_ the root (where this README file is located). This ensures the tooling works as expected.### Installing
Install the needed packages both for the client and the backend:
```
cd client
yarncd ../server
yarn
```### Starting
Start the server:
```
# in the server folder
yarn start
```Start the client in a separate terminal:
```
# in the client folder
yarn start
```Go to https://localhost:9000 to see the app.