solid-start-ssr

Guide safe data fetching and hydration in SolidStart SSR/CSR setups.

Updated Sep 21, 2025
One-click install
npx skills add https://github.com/hmjn023/solid-imager --skill solid-start-ssr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solid-start-ssr
Source: https://github.com/hmjn023/solid-imager/tree/main/.opencode/skills/solid-start-ssr
Command: npx skills add https://github.com/hmjn023/solid-imager --skill solid-start-ssr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides safe data fetching and hydration in SolidStart SSR/CSR setups.

Core Features & Use Cases

  • SSR-friendly data fetching: ensures server-side data fetches are allowed and do not block rendering, with safe hydration on the client.
  • Browser API guards: demonstrates gating window/document/localStorage usage behind isServer checks.
  • Hydration reliability: explains patterns to avoid mismatches during client hydration, including conditional rendering and proper initial data availability.

Quick Start

Ensure server-side data fetching runs on the server while client-only code is guarded for hydration.

Frequently Asked Questions about solid-start-ssr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent hydration mismatches in SolidStart SSR?

Preventing hydration mismatches in SolidStart SSR requires ensuring proper initial data availability and using conditional rendering patterns so server-side data fetches align with client hydration states.

How do I safely use browser APIs like localStorage during SolidStart server-side rendering?

To safely use browser APIs during server-side rendering, gate window, document, and localStorage usage behind isServer checks to prevent server execution errors and ensure safe hydration.

What is the best way to fetch data in SolidStart without blocking SSR?

The best way to fetch data without blocking SSR is to apply non-blocking SSR data fetch patterns, ensuring server-side fetches do not delay rendering while enabling safe client hydration.

Can I use TanStack Query for data fetching in a SolidStart SSR setup?

You can use TanStack Query for data fetching in SolidStart SSR setups by applying safe hydration patterns that ensure server data is properly serialized and hydrated on the client.

Why does my SolidStart form initialization break during client hydration?

Form initialization breaks during client hydration when initial data is unavailable or browser APIs are not gated with isServer, causing mismatches between server and client rendering states.

When should I use isServer guards in SolidStart frontend patterns?

Use isServer guards in SolidStart frontend patterns whenever components access browser APIs like window or localStorage, ensuring server-side rendering executes safely without hydration errors.