mcpField
H
hairy-react-lib

hairy-react-lib

github.com/hairyfDevelopment26749 installsUpdated 2w ago
Repository

About hairy-react-lib

hairy-react-lib is a collection of React hooks and components for application development. It covers async state, lifecycle and change watching, conditional rendering, and utilities such as an event bus and pagination.

Key features

  1. 01Async state and callback hooks
  2. 02Value watching and lifecycle hooks
  3. 03Conditional rendering components
  4. 04Error-safe hooks with fallbacks
  5. 05Event bus, pagination, and fetch interception

Use cases

  1. 01Managing asynchronous React state
  2. 02Rendering components conditionally
  3. 03Communicating across components
  4. 04Adding pagination or request interception

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hairyf/skills --skill hairy-react-lib

After installing, type/hairy-react-libin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

LICENSE.md
SYNC.md
references/
advanced-event-bus.md
advanced-fetch-intercept.md
advanced-pagination.md
core-async-hooks.md
core-conditional.md
core-lifecycle-hooks.md
core-try-hooks.md
core-watch-hooks.md

Details

From the project README

Based on @hairy/react-lib v1.47.0. Focuses on React hooks and components for building React applications.

Core References

TopicDescriptionReference
Async HooksAsync state management and callback handlingcore-async-hooks
Watch HooksReactive value watching and change detectioncore-watch-hooks
Lifecycle HooksComponent lifecycle and mounting utilitiescore-lifecycle-hooks
Conditional ComponentsIf/Else, Switch/Case components for conditional renderingcore-conditional
Try HooksError-safe React hooks with fallback behaviorcore-try-hooks

Advanced Features

TopicDescriptionReference
Event BusCross-component event communicationadvanced-event-bus
PaginationOffset-based pagination hookadvanced-pagination
Fetch InterceptRequest/response interception utilitiesadvanced-fetch-intercept

Comments

Markdown supported