react vega leaks memory
domoritz opened this issue · 6 comments
domoritz commented
In
we only finalize the view but we need to call finalize from the embed result.ndobb commented
domoritz commented
The fix should be pretty straightforward. Instead of calling finalize on the view, we should call it on the result from Vega-Embed. We do this in https://github.com/vega/svelte-vega now. It would be awesome if you could send a pull request.
ndobb commented
Happy to take a stab at a fix, and thanks for the pointer to svelte-vega.
kristw commented
published react-vega@7.4.4