solidstart-hydration-guard

Community

Ensure identical SSR/CSR output.

Authorvallafederico
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the critical challenge of ensuring that server-side rendered (SSR) and client-side rendered (CSR) output in SolidStart applications remains identical, preventing hydration errors and ensuring a seamless user experience.

Core Features & Use Cases

  • SSR/CSR Symmetry: Guarantees that browser-only APIs are not called during SSR and that server HTML remains stable.
  • Stable IDs & Data: Ensures consistent unique IDs and JSON-serializable data passed from server to client.
  • Resource & Suspense Alignment: Manages Suspense fallbacks and resource loading for identical behavior on server and client.
  • Client-Only UI Management: Provides strategies for isolating client-specific components and effects.
  • Streaming & Headers: Correctly handles streaming renders and header/status code consistency.
  • Router Integration: Ensures proper Suspense usage within the router for error-free hydration.
  • Use Case: Prevent common hydration mismatches in SolidStart by applying these rules, leading to more robust and predictable applications.

Quick Start

Apply the solidstart-hydration-guard skill to your SolidStart project to enforce consistent server and client rendering.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: solidstart-hydration-guard
Download link: https://github.com/vallafederico/solid-ai-rules/archive/main.zip#solidstart-hydration-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.