0.1.4 • Published 2 years ago

sf-hooks v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

📦 Install

$ npm install --save sf-hooks
# or
$ yarn add sf-hooks
# or
$ pnpm add sf-hooks

🔨 Usage

import { useTitle } from 'sf-hooks'

🎉 Hooks list

HookDescription
useBooleanMethods to control a boolean state
useTitleChange the docoment title
useTimeoutTrigger callback after specified time
useMountTrigger callback when component is mounted
useOnMountTrigger callback when component is unMounted

🤝 Notice

本项目仅供教学使用, 切勿用于生产, 感谢大家!

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago