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

shared-state-no-url

// Use useSharedState (from state-in-url, NOT a framework subpath) as a framework-agnostic cross-component state primitive when URL sync is explicitly NOT wanted. Same module-scoped default-state-identity rule as useUrlState. A lightweight Context.Provider replacement that works in React, Next.js, Vite, Remix without setup. Load this skill when the user wants shared state but specifies "no URL", or for state that is sensitive, ephemeral, or too large to live in the URL.

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