@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

Readme

Keywords

Package Sidebar

Install

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

Weekly Downloads

0

Version

0.0.6

License

WTFPL

Unpacked Size

2.45 kB

Total Files

8

Last publish

Collaborators

  • yututi