Back to Skills

custom-renderer-implementation

majiayu000
Updated Today
9 views
58
9
58
View on GitHub
Otherreact

About

This skill enables developers to build custom React renderers for non-DOM targets like Canvas or Terminal using `react-reconciler`. It focuses on implementing the HostConfig interface to map React's fiber system to imperative host APIs and manage updates. Use it when you need to render React components into a custom environment while supporting concurrent features.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/custom-renderer-implementation

Copy and paste this command in Claude Code to install this skill

Documentation

Custom Renderer Implementation (React 18)

Summary

Architect bespoke React renderers for non-DOM environments using the react-reconciler package.

Key Capabilities

  • Implement a full HostConfig interface for a custom target.
  • Map fiber mutations to imperative host API calls.
  • Manage persistent vs. transient host instance updates.

PhD-Level Challenges

  • Design a scheduling-aware host config for Frame-limited targets.
  • Prove correctness of the mutation queue execution order.
  • Implement concurrent mode support for a custom target.

Acceptance Criteria

  • Deploy a working custom renderer (e.g., to Canvas or Terminal).
  • Demonstrate correct update propogation.
  • Pass the standard React conformance test suite for renderers.

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/custom-renderer-implementation

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill

cloudflare-turnstile

Meta

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

View skill

clerk-auth

Meta

This skill provides comprehensive guidance for implementing Clerk authentication across React, Next.js, and Cloudflare Workers applications. Use it when setting up protected routes, configuring JWT templates with custom claims, integrating with UI components, or testing authentication flows. It also helps prevent common issues like missing secret keys, JWT size limits, and middleware configuration errors.

View skill