Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

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.

النجوم٣
التفرعات٣
آخر تحديث٢١ مايو ٢٠٢٦ في ١٩:١٥
SKILL.md
readonly