You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is obviously a snippet cut out of the code, but hopefully gives the idea.
If I call setSpec() during runtime, I can observe that the state has really changed (I can trigger a useEffect hook that's dependent on spec), but the plot does not re-render to use the new spec. Should it? If not, what's the right way to cause the VegaLite component to re-render?
The text was updated successfully, but these errors were encountered:
This is (I think) a question rather than a bug report.
I've currently got a setup where I'd like to be able to modify the spec and the data on the fly. So I have something like
This is obviously a snippet cut out of the code, but hopefully gives the idea.
If I call
setSpec()
during runtime, I can observe that the state has really changed (I can trigger a useEffect hook that's dependent onspec
), but the plot does not re-render to use the new spec. Should it? If not, what's the right way to cause the VegaLite component to re-render?The text was updated successfully, but these errors were encountered: