๐ All Scopes
Demonstrates GLOBAL, ROUTE, and TAB scopes side by side.
Shared across ALL pages and users. Changes propagate everywhere.
Shared by all users on THIS page only. Different pages have different counters.
Private to this browser tab. Other tabs have their own value.
Page A
Notice: Global status is the SAME as Home, but the Route counter is DIFFERENT (this is Page A's counter).
โก Signals
personalMessage
string TAB Hello... Per-tab editable message. Private to each browser tab.
๐ฏ Actions
updateStatus
GLOBAL Randomizes system status and increments global visitor count.
increment
ROUTE Increments the page-specific shared counter.
reset
ROUTE Resets the page-specific counter to 0.
updateMessage
TAB Randomizes the personal tab message.
๐ Views
all_scopes.html.twig
Page shell with navigation between sub-pages.
Global banner
GLOBAL-scoped component showing system status shared across all pages and users.
Route counter
ROUTE-scoped component with a counter shared between all tabs on the same page.
Tab message
TAB-scoped component with a private editable message per browser tab.