LogoClawIndex
CasesSkillsAbout
LogoClawIndex

manage-client-state - Type-safe Client State Management for Global/URL States

Manages client-side state globally and via URL parameters with type safety

Tags

Updated: 2026-03-09
state managementclient-sideReactNext.jsSWRnuqs

Capabilities

use SWRImmutable for global stateuse nuqs for URL statemanage UI state globallysync state with URL parameters

Typical Inputs

URL parameterslocalStorage dataclient-side state changes

Typical Outputs

updated UI stateURL parameter changeslocalStorage updates

What this skill does

  • use SWRImmutable for global state
  • use nuqs for URL state
  • manage UI state globally
  • sync state with URL parameters
  • persist state to localStorage

Inputs

  • URL parameters
  • localStorage data
  • client-side state changes
  • React components

Outputs

  • updated UI state
  • URL parameter changes
  • localStorage updates
  • state persistence

Requirements

  • Client-side environment
  • React/Next.js framework
  • SWR library
  • nuqs library

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.