Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

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.

Estrellas3
Forks3
Actualizado21 de mayo de 2026, 19:15
SKILL.md
readonly