@ekaitz_zarraga in my experience the answer is to use `mount` to manage the reloads and lifecycle. It's been a while since the last time I did something with it, but maybe you can take inspiration from here github.com/baoqu/baoqu-core (bear in mind that the deps are a bit outdated, so the API might have changed since then)

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!