solid-errors-error-handling

Handle SolidJS rendering and reactive errors with ErrorBoundary and Suspense.

4|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/SolidJS-Claude-Skill-Package --skill solid-errors-error-handling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solid-errors-error-handling
Source: https://github.com/OpenAEC-Foundation/SolidJS-Claude-Skill-Package/tree/main/skills/source/solid-errors/solid-errors-error-handling
Command: npx skills add https://github.com/OpenAEC-Foundation/SolidJS-Claude-Skill-Package --skill solid-errors-error-handling

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Handles rendering and reactive errors in SolidJS apps using ErrorBoundary and Suspense, preventing uncaught crashes and unhelpful fallbacks.

Core Features & Use Cases

  • Catches errors in rendering, createEffect, createMemo, and createResource within a boundary.
  • Encourages proper composition with ErrorBoundary outside Suspense to separate error vs loading states.
  • Provides robust fallback patterns and reset/refetch strategies for resource errors.

Quick Start

Wrap your app section with an ErrorBoundary outside Suspense to catch and gracefully recover from errors.

Frequently Asked Questions about solid-errors-error-handling

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

FAQPage Schema
How do I handle rendering and reactive errors in SolidJS without uncaught crashes?

Use ErrorBoundary outside Suspense to catch rendering, createEffect, createMemo, and createResource errors in SolidJS, providing fallback patterns and preventing uncaught crashes or unhelpful fallbacks.

Should ErrorBoundary be inside or outside Suspense in SolidJS?

Place ErrorBoundary outside Suspense in SolidJS to separate error states from loading states, allowing the boundary to catch rendering and resource errors while Suspense manages asynchronous loading fallbacks.

How do I reset or refetch resource errors in SolidJS after a failure?

Apply robust fallback patterns within ErrorBoundary to reset and refetch resource errors in SolidJS, enabling recovery from createResource failures by triggering data refetches after asynchronous loading crashes.

Can I programmatically catch errors in SolidJS instead of using fallback components?

Yes, you can programmatically catch errors in SolidJS using catchError alongside ErrorBoundary, providing an alternative to rendering fallback components when reactive or resource errors occur in component trees.

Does this approach to SolidJS error handling support server-side rendering?

Yes, this error handling approach specifies SSR-aware patterns for managing rendering and reactive errors, ensuring ErrorBoundary and Suspense function correctly during SolidJS server-side rendering scenarios.