hairy-react-lib

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Based on @hairy/react-lib v1.47.0. Focuses on React hooks and components for building React applications.
基于@hairy/react-lib v1.47.0版本,专注于用于构建React应用的React Hooks与组件。

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
主题描述参考链接
Async Hooks异步状态管理与回调处理core-async-hooks
Watch Hooks响应式值监听与变更检测core-watch-hooks
Lifecycle Hooks组件生命周期与挂载工具core-lifecycle-hooks
Conditional Components用于条件渲染的If/Else、Switch/Case组件core-conditional
Try Hooks具备回退行为的错误安全型React Hookscore-try-hooks

Advanced Features

高级功能

TopicDescriptionReference
Event BusCross-component event communicationadvanced-event-bus
PaginationOffset-based pagination hookadvanced-pagination
Fetch InterceptRequest/response interception utilitiesadvanced-fetch-intercept
主题描述参考链接
Event Bus跨组件事件通信advanced-event-bus
Pagination基于偏移量的分页Hookadvanced-pagination
Fetch Intercept请求/响应拦截工具advanced-fetch-intercept