Page 2
Page 2 is even better, even though it has no sidebar.
Shown on each page
This component will be used on each page.
It uses the app_state
reactive variable
so that the state outlives each page
app_state: 0
Shown only on page2
The lifetime of component_state
if bound to this page. If you navigate away from it,
the state will be reset.
It creates the component_state
using the use_reactive hook
so that the state is bound to the component.
See also about state management for more information.
component_state: 0