Need clarification on tab usage/behaviour

In my edit templates I use the tab macro. I recently saw behaviour I was not expecting.

I recently I had a filter bug that raised a JavaScript exception in the leaflet plugin. I was able to debug and correct the ill filter. In doing so, I noticed that the filter usage was used on tab that I had not requested ( ie it was not the current tab when the tiddler was opened).

Is there tab rendering on all tabs when a tiddler is opened? If so, why and what is the best practice to prevent this until a tab is selected?

Aside: as a test on this one tab I used @saqimtiaz refresh widget, wrapping the entire tab content. This caused a performance boost on loading some of my data heavy tiddlers.

If you did specify the retain parameter. See: https://tiddlywiki.com/#tabs%20Macro all tabs content is rendered, but only 1 is visible. IMO This is only needed, if you need tabs-animation.

With “saqimtiaz” refresh plugin you mean the Selective Refresh Plugin - right?

I did not use the retain parameter. Example usage:

<$macrocall $name=tabs tabsList=<<tabfilter>> default=<<firstTab>> state="$:/temp/tab" />

The refresh widget I used is this