0.0.2 ⢠Published 5 years ago
rescript-react-flow v0.0.2
ReScript React Flow
š§ WIP: React Flow bindings for ReScript.
Some basic examples are already working. But still need to figure out:
- Custom Node
- Validations
- Updatable Edge
- Controls
- Provider
These are all very simple bindings that needs implementing I just didn't have the time. They're also a greate exercise if you're learning ReScript. Feel free to contribute.
Installing
- Install
rescript-react-flowusing npm:
npm install --save rescript-react-flowor yarn:
yarn add rescript-react-flow- Add
rescript-react-flowas dependency to yourbsconfig.json:
{
"name": "your-project",
"bs-dependencies": ["rescript-react-flow"]
}Contributing
If you'd like to contribute, you can follow the instructions below to get things working locally.
Getting Started
- After cloning the repo, install the dependencies
npm install- Build and start the example server:
npm start