react-syntax-events

Official

Strong, typed React event handling with TS.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

React event handling with TypeScript is error-prone when event types are misused or when currentTarget typing is ignored, leading to runtime issues and poor autocomplete.

Core Features & Use Cases

  • Typed event handlers for common React events (Mouse, Keyboard, Form, Focus, Drag).
  • Clear guidance on using the correct React-specific event types (e.g., React.MouseEvent<HTMLButtonElement>).
  • Use case: Build robust input handling with precise typing to prevent accessing wrong properties.

Quick Start

Type a TSX snippet that demonstrates safely typing an onChange handler for an HTMLInputElement using React.ChangeEvent<HTMLInputElement> and reading e.currentTarget.value.

Dependency Matrix

Required Modules

None required

Components

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: react-syntax-events
Download link: https://github.com/OpenAEC-Foundation/React-Claude-Skill-Package/archive/main.zip#react-syntax-events

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.