solid-control-flow
CommunityEfficient conditional rendering in SolidJS for responsive UIs.
Software Engineering#suspense#portal#conditional rendering#solidjs#error boundary#list iteration#dynamic component
Authoradamhjk
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Manages complex rendering logic in SolidJS by providing declarative primitives for conditionals, loops, and dynamic components, simplifying UI development.
Core Features & Use Cases
- Conditional Rendering: Use
<Show>and<Switch>/<Match>to display components based on state, enabling reactive interface adjustments. - List Rendering: Use
<For>and<Index>to render collections efficiently, supporting list reordering and primitive data challenges. - Dynamic Components: Render components at runtime with
<Dynamic>andcreateDynamic, allowing flexible UI composition. - Portals & Error Handling: Mount elements outside the DOM hierarchy with
<Portal>, and handle runtime errors through<ErrorBoundary>. - Suspense & Lazy-loading: Manage async data with
<Suspense>,<SuspenseList>, and code-splitting vialazy()for performance optimization.
Quick Start
Use the <Show> component to conditionally display content when a variable is true.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: solid-control-flow Download link: https://github.com/adamhjk/mvtt/archive/main.zip#solid-control-flow Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.