Skip to main content
Execute qualquer Skill no Manus
com um clique

localstorage-vs-url-state

Use when deciding where new UI state should live — URL params or localStorage. Rule of thumb operator-preference state (favorites, picture-in-picture geometry, panel layout, theme) goes in localStorage; chart-content state (symbol, granularity, indicator config) goes in the URL so links are shareable. Includes the cross-component reactivity pattern (custom event + storage event) and the watchlist-navigation trap that motivated the rule.

Estrelas3
Forks3
Atualizado21 de maio de 2026 às 19:15
SKILL.md
readonly