0.0.6 • Published 3 years ago

@yututi/super-ultimate-genious-react-hooks v0.0.6

Weekly downloads
-
License
WTFPL
Repository
github
Last release
3 years ago

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

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago