Skip to main content
Run any Skill in Manus
with one click

data-persistence

Stars6
Forks5
UpdatedFebruary 28, 2026 at 16:16

Implement persistent Spark state with Zustand `useSparkStore` in `src/store/appStore.ts`, including safe load/save patterns that avoid hydration overwrite bugs. Use when building or updating any Spark that reads or writes user data across app sessions, especially when adding `getSparkData`/`setSparkData` logic, migrating from local storage patterns, or debugging data-loss after app restart.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly