https://github.com/dmtrkovalenko/reason-react-select
A demo app using ReasonML and next
https://github.com/dmtrkovalenko/reason-react-select
Last synced: 3 months ago
JSON representation
A demo app using ReasonML and next
- Host: GitHub
- URL: https://github.com/dmtrkovalenko/reason-react-select
- Owner: dmtrKovalenko
- Created: 2020-07-17T19:33:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-18T05:07:52.000Z (almost 6 years ago)
- Last Synced: 2024-05-22T20:34:24.561Z (about 2 years ago)
- Language: Reason
- Homepage: https://ahrefs-task.dmtr-kovalenko.vercel.app/
- Size: 146 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A demo application using react-select and ReasonML
**Checkout this app running** at https://ahrefs-task.dmtr-kovalenko.vercel.app/
This example features:
- Have inbound `/api/countries` route written in Reason
- Have a select component that queries route and shows the options
- Have couple of cypress tests confimring this behavior
*Make sure*
Real entry point of application is `components/root.re` because bunch of reason declarations just doesn't support SSR because of missing `cjs` output.
## Deploy your own
Deploy the example using [Vercel](https://vercel.com) right now:
[](https://vercel.com/import/project?template=https://github.com/dmtrKovalenko/reason-react-select)
## How to use
Run locally
```
yarn
yarn dev
```
Run Cypress tests
```
yarn test
```
Deploy to vercel via CLI
```
yarn now
```