Common react hooks for yozora-react libraries
npm install @yozora/core-react-hook
@yozora/core-react-hook
alt="Npm Version"
src="https://img.shields.io/npm/v/@yozora/core-react-hook.svg"
/>
alt="Npm Download"
src="https://img.shields.io/npm/dm/@yozora/core-react-hook.svg"
/>
alt="Npm License"
src="https://img.shields.io/npm/l/@yozora/core-react-hook.svg"
/>
alt="Module formats: cjs, esm"
src="https://img.shields.io/badge/module_formats-cjs%2C%20esm-green.svg"
/>
alt="Node.js Version"
src="https://img.shields.io/node/v/@yozora/core-react-hook"
/>
alt="React version"
src="https://img.shields.io/npm/dependency-version/@yozora/core-react-hook/peer/react"
/>
alt="Tested with Jest"
src="https://img.shields.io/badge/tested_with-jest-9c465e.svg"
/>
alt="Code Style: prettier"
src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"
/>
Provide some common react hooks.
* npm
``bash`
npm install --save @yozora/core-react-hook
* yarn
`bash`
yarn add @yozora/core-react-hook
Name | Description
:------------------------:|:---------------------------------------------:
useDeepCompareMemo | Deep compare version of React.useMemouseEventCallback` | Declare an event handler with an always-stable function identity.
* [@yozora/ast][]
* [@yozora/react-markdown][]
* Custom React Hooks | 光和尘
[@yozora/ast]: https://www.npmjs.com/package/@yozora/ast#admonition
[@yozora/react-markdown]: https://www.npmjs.com/package/@yozora/react-markdown