Skip to main content
在 Manus 中运行任何 Skill
一键导入
$pwd:

feature-state-hook

// Define typed, module-scoped state and wrap useUrlState in a feature-scoped custom hook so unrelated React components share the same URL-synced state. Covers drawer/modal open-state, tab switching, multi-select toggles, reset/defaults semantics, and the object-identity-based sharing model. Load this skill when storing filters, tabs, drawers, selections, paginators, or any UI state that should survive reloads and be shareable by URL.

$ git log --oneline --stat
stars:416
forks:10
updated:2026年5月24日 12:17
SKILL.md
readonly