brown-ccv / brown-ccv/react-volume-viewer

Savable state in `Controls`

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

If the user calls `useState` in their website and passes the `state` and `setState` values to the component they will be able to keep track of the `controls` state. This way they'll have control over whether or not loading a new dataset changes all of the controls

Would have to document how `setState` is called within the library much better.

Would make #17 easier much easier. Perhaps should do both in the same PR? Then document why you would use them separately (savable state)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.