You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The component demonstrates _Activity_ as a polyfill of the experimental React `<Activity>` component.
27
+
- Three tabs represent three independent panels, each rendered inside an `<Activity>` with `mode="hidden"`.
28
+
- Switching tabs sets the active panel — inactive panels receive `mode="hidden"`.
29
+
- Each panel contains a counter. Because `mode="hidden"` keeps the subtree mounted, counters preserve their values across tab switches — unlike conditional rendering which would reset them.
30
+
- A note under the tabs confirms that all three panels remain in the DOM at all times.
0 commit comments