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
- 01Async state and callback hooks
- 02Value watching and lifecycle hooks
- 03Conditional rendering components
- 04Error-safe hooks with fallbacks
- 05Event bus, pagination, and fetch interception
Use cases
- 01Managing asynchronous React state
- 02Rendering components conditionally
- 03Communicating across components
- 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-libAfter installing, type/hairy-react-libin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
LICENSE.mdSYNC.mdreferences/advanced-event-bus.mdadvanced-fetch-intercept.mdadvanced-pagination.mdcore-async-hooks.mdcore-conditional.mdcore-lifecycle-hooks.mdcore-try-hooks.mdcore-watch-hooks.mdDetails
From the project READMEBased on @hairy/react-lib v1.47.0. Focuses on React hooks and components for building React applications.
Core References
| Topic | Description | Reference |
|---|---|---|
| Async Hooks | Async state management and callback handling | core-async-hooks |
| Watch Hooks | Reactive value watching and change detection | core-watch-hooks |
| Lifecycle Hooks | Component lifecycle and mounting utilities | core-lifecycle-hooks |
| Conditional Components | If/Else, Switch/Case components for conditional rendering | core-conditional |
| Try Hooks | Error-safe React hooks with fallback behavior | core-try-hooks |
Advanced Features
| Topic | Description | Reference |
|---|---|---|
| Event Bus | Cross-component event communication | advanced-event-bus |
| Pagination | Offset-based pagination hook | advanced-pagination |
| Fetch Intercept | Request/response interception utilities | advanced-fetch-intercept |
Comments
Markdown supported