solid-errors-react-contamination

Detect React contamination patterns in SolidJS code during reviews.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

SolidJS codebases risk silent reactivity breaks when React patterns are introduced; this Skill helps identify and remediate those anti-patterns.

Core Features & Use Cases

  • Detects React contamination patterns such as props destructuring, improper signal usage, and Array.map-based rendering.
  • Provides migration guidance to convert React patterns to SolidJS idioms suitable for reactive updates.
  • Suitable for code review, migration tooling, and educational contexts to improve SolidJS reactivity fidelity.

Quick Start

Run a static review on a SolidJS component file to surface React contamination patterns and apply recommended fixes.

Frequently Asked Questions about solid-errors-react-contamination

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

FAQPage Schema
Why does destructuring props break SolidJS reactivity?

Destructuring props breaks SolidJS reactivity by losing the reactive getter proxies, causing values to resolve once without tracking updates. Use splitProps or direct prop access to preserve signal tracking.

How do I fix React contamination patterns in SolidJS components?

Fix React contamination in SolidJS by replacing destructured props with splitProps, swapping Array.map rendering with the For component, and wrapping conditionals in the Show component to restore reactive updates.

What is React contamination in a SolidJS migration?

React contamination in a SolidJS migration occurs when React idioms like Array.map rendering or improper signal usage silently degrade reactivity. Static code reviews detect these anti-patterns to enforce SolidJS-compliant patterns.

Can I use Array.map to render lists in SolidJS?

Using Array.map to render lists in SolidJS is a React contamination anti-pattern that breaks reactivity. Use the For component instead to ensure list items update reactively without destroying and recreating DOM nodes.

Does this SolidJS anti-pattern detection work for code reviews and tooling scans?

Yes, this SolidJS anti-pattern detection suits automated tooling scans and manual code reviews. It enforces detection rules via frontmatter metadata and references to catch destructured props and improper signal usage.

When should I use the Show component instead of conditional rendering in SolidJS?

Use the Show component instead of ternary or logical AND conditional rendering in SolidJS to prevent React contamination. Show preserves reactivity by managing DOM mounting without evaluating conditions prematurely.