@yututi/super-ultimate-genious-react-hooks
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

Super ultimate genious react hooks

My ultimate react hooks

Install

npm i @yututi/super-ultimate-genious-react-hooks

Features

  • Lifecycle hooks

Usage

import {
  useLifecycle
} from "@yututi/super-ultimate-genious-react-hooks"

export default function App() {

  useLifecycle({
    mounted: () => {
      // Called after the component has been mounted.
    },
    unmounted: () => {
      // Called after the component has been unmounted.
    }
  })

  return (
    <div>...</div>
  )
}

License

WTFPL

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.6
    3
  • 0.0.3
    1
  • 0.0.2
    0
  • 0.0.1
    1

Package Sidebar

Install

npm i @yututi/super-ultimate-genious-react-hooks

Weekly Downloads

4

Version

0.0.6

License

WTFPL

Unpacked Size

2.45 kB

Total Files

8

Last publish

Collaborators

  • yututi