small component to load one or more cables.gl patches in your react app
the app was created using create-react-app, check src/App.js
for an example on
how to load two patches, with default values and custom ones. src/CablesPatch.js
contains the component.
to update your patches, put your exported files into public/patch
or configure a different path when using the
component.
make sure to export as "single javascript file"
- nodejs and npm in a current version
- check out this repository
- run
npm install
- run
npm run start
- browser will open and show two patches overlaying