Closed
Description
Seeking feedback from @etpinard @alexcjohnson @bpostlethwaite on the best location for Plotly.react
. I can imagine a few possibilities:
- it should go in
plotly.js
and we just have to add a couple lines of code to this repo to make use of it.
- Pro: react-like functionality usable from any library
- Con: more code in plotly.js
- it goes in this repo. It computes a diff (maybe using the schema to figure out what to do about array data, with optional flag to apply immutable-like reference-change logic to simplify diff computation) and sends the result to the relevant plotly.js API methods.
- Pro/con: opposites of above
Unless I'm wrong, sounds like @alexcjohnson is/will be working on Plotly.react
. I just wanted to confirm that's what this will link up with.
Metadata
Metadata
Assignees
Labels
No labels