Will the content of a tab container be loaded for all tabs on page load?
I was having a discussion with a colleague about the content that is loaded on a page that contains a tab container. Let's say I have a tab container with three tabs and each contains a list grid with a microflow datasource. Will each of them be loaded on page load? We are having a discussion whether we should use a tab container or that each 'tab' will open a page, instead of a tab, this way avoiding each microflow to be loaded. Thanks
Also: when inspecting the page (F12) go to the view network. You will only be able to find the data that is also visible in the tab of your app, and not the data of the non-visible-tabs. Upon clicking another Tab in your app, then in your inspection-window's Network-view, you will see another entry appearing which retrieved the data for that particular tab.
𝕿𝖎𝖒 𝖛𝖆𝖓 𝕾𝖙𝖊𝖊𝖓𝖇𝖊𝖗𝖌𝖊𝖓
You can check this easily by creating the tabs and the grids with the datasource microflows.
On each of the microflows add a breakpoint for the debugger to see if the microflows are triggered on opening of the page or on the tab display.