Skip to main content
Question

Can I reset the state of some components on a frame without affecting others?

  • June 20, 2025
  • 0 replies
  • 14 views

Raif Mitchell

Imagine two frames. The first contains two interactive components: a seven-slide carousel and a dark/light mode toggle. The second frame is used to navigate away and return. The toggles are matching components across both frames, so they share states — which is ideal. Tapping a toggle changes its variant and the colour mode. I want the toggles to retain their state when navigating between frames, but I’d like the carousel to reset. Is there a way to control which components get reset on a frame?