Skip to main content

react-preferences-persistence-pattern

Fix React user preferences not persisting after page reload when loaded from database. Use when: (1) Settings load into state but don't appear in UI after reload, (2) User preferences exist in database but UI shows defaults, (3) Accessibility settings or theme preferences not applied despite being saved, (4) E2E tests fail expecting persisted settings. Covers React useEffect patterns for loading async data and applying DOM changes separately, preventing application during loading state.

Jump to install

Source facts

Repository
Hankanman/claude-config
Last source activity
January 27, 2026 at 08:46
Detected SKILL.md language
English
Stars
1
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.