Reactive dependency upon clicking on navigation panel

Hi,

I have an async reactive effect which I want to be triggered when I click for the first time on a ui.nav_panel:

ui.navset_card_tab(
    ui.nav_panel(
                "module1"
                value="module1",
                .....
    ),
    id="module"
)

I think this can be achieved by using reactive.event() such as:

@reactive.effect
@reactive.event(input.module)
    async def load_static_data():
      print("loading data")
......

But this will make the reactive effect invalidated everytime I move around the navset_card_tab.

Is there a simple way to get it triggered only at first selection of a specific nav panel or should I create a reactive value which implement this logic?