Replies: 2 comments 1 reply
-
I've seen your repository. So, I assume you found the solution? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to wrap UpSet.js for use in Plotly Dash. Starting with the plotly dash boilerplate template (https://github.com/plotly/dash-component-boilerplate), I was able to get the static version to work, but implementing interactivity has proven difficult. I'm not very familiar with React, and as far as I can tell, you need to use
React.useState(null)
to implement interactivity. But no matter where I try to useReact.useState(null)
, I get the "Invalid Hook call". I will attach my code, any help would be appreciated!Another interesting thing is that the buttons at the bottom work and when I click the "share" button, it opens a new window with the same plot but this time interactive.
Beta Was this translation helpful? Give feedback.
All reactions