Unexpected queries


#1

Hello, I’m working in an application with React.js and we are initially querying some data using the toolkit without rendering charts. Then we are rendering 5 charts and when the react state is updated, we noticed that there are more than 10 queries in the network. Is there any way to fix this?


#2

Hey @ralf, as i understand, the reason of that are your initial queries, actually they are visuals also, but with no charts, so they are in memory, you should go ahead and remove that query visualizations using: cf.remove('id-of-the-query') as soon as you use the data of the query.


#3

I see, when i perform the query the toolkit keep the query as a visualization, so for that reason i have to remove it, i tried and it works good for me, thank you so much


#4

Great!, glad that it helps you, and remember that the Interaction manager also apply filters to the visualizations in memorry, so for that reason is good to remove the quering data visualizations.