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
Using the loader prop with the baseURL property, in conjunction with the onNewView and signalListeners props causes vega-loader to indefinitely send requests to the data URL in the Vega specification.
I'm trying to keep a track of all the signal induced changes to the Vega chart. For my use-case, I need the View from onNewView to create the signalListeners for the Vega chart.
Now adding the loader prop creates an infinite loop where the View generates signalListeners, which generate a new View, which generates new signalListeners and so on.
This doesn't happen if the loader prop isn't passed. The chart also loads properly if only the loader prop is passed. But using all of these props together seems to cause this issue.
Using the
loader
prop with thebaseURL
property, in conjunction with theonNewView
andsignalListeners
props causesvega-loader
to indefinitely send requests to the data URL in the Vega specification.I'm trying to keep a track of all the signal induced changes to the Vega chart. For my use-case, I need the
View
fromonNewView
to create thesignalListeners
for the Vega chart.Now adding the
loader
prop creates an infinite loop where theView
generatessignalListeners
, which generate a newView
, which generates newsignalListeners
and so on.This doesn't happen if the
loader
prop isn't passed. The chart also loads properly if only theloader
prop is passed. But using all of these props together seems to cause this issue.CodeSandbox Link Line 80
Network tab
The text was updated successfully, but these errors were encountered: