|
1 | | -# React Lifecycle Hooks |
2 | | - |
3 | | -[](https://www.npmjs.com/package/@better-hooks/lifecycle) |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | -> React lifecycle turned into dev friendly and readable hooks |
11 | | -
|
12 | | -- [Better Typed](https://github.com/BetterTyped) |
13 | | - |
14 | | -## Features |
15 | | - |
16 | | -- :rocket: Simple, fast and light |
17 | | -- :factory: No external dependencies |
18 | | - |
19 | | -## Install |
| 1 | +# 🧩 React Lifecycle Hooks |
| 2 | + |
| 3 | +<p> |
| 4 | + <a href="https://bettertyped.com/"> |
| 5 | + <img src="https://custom-icon-badges.demolab.com/static/v1?label=&message=BetterTyped&color=333&logo=BT" /> |
| 6 | + </a> |
| 7 | + <a href="https://github.com/BetterTyped/react-lifecycle-hooks"> |
| 8 | + <img src="https://custom-icon-badges.demolab.com/github/stars/BetterTyped/react-lifecycle-hooks?logo=star&color=118ab2" /> |
| 9 | + </a> |
| 10 | + <a href="https://github.com/BetterTyped/react-lifecycle-hooks/blob/main/License.md"> |
| 11 | + <img src="https://custom-icon-badges.demolab.com/github/license/BetterTyped/react-lifecycle-hooks?logo=law&color=yellow" /> |
| 12 | + </a> |
| 13 | + <a href="https://github.com/semantic-release/semantic-release"> |
| 14 | + <img src="https://custom-icon-badges.demolab.com/badge/semver-commitzen-e10079?logo=semantic-release&color=e76f51" /> |
| 15 | + </a> |
| 16 | + <a href="https://github.com/BetterTyped/react-lifecycle-hooks"> |
| 17 | + <img src="https://custom-icon-badges.demolab.com/badge/typescript-%23007ACC.svg?logo=typescript&logoColor=white" /> |
| 18 | + </a> |
| 19 | + <a href="https://www.npmjs.com/package/@better-hooks/lifecycle"> |
| 20 | + <img src="https://custom-icon-badges.demolab.com/bundlephobia/min/@better-hooks/lifecycle?color=64BC4B&logo=package" /> |
| 21 | + </a> |
| 22 | + <a href="https://www.npmjs.com/package/@better-hooks/lifecycle"> |
| 23 | + <img src="https://custom-icon-badges.demolab.com/npm/v/@better-hooks/lifecycle.svg?logo=npm&color=E10098" /> |
| 24 | + </a> |
| 25 | +</p> |
| 26 | + |
| 27 | +## About |
| 28 | + |
| 29 | +React lifecycle turned into dev friendly and readable hooks |
| 30 | + |
| 31 | +## Key Features |
| 32 | + |
| 33 | +🔮 **Simple usage** |
| 34 | + |
| 35 | +🚀 **Fast and light** |
| 36 | + |
| 37 | +💎 **No external dependencies** |
| 38 | + |
| 39 | +## Installation |
20 | 40 |
|
21 | 41 | ```bash |
22 | 42 | npm install --save @better-hooks/lifecycle |
|
28 | 48 | yarn add @better-hooks/lifecycle |
29 | 49 | ``` |
30 | 50 |
|
31 | | -## Usage |
| 51 | +--- |
| 52 | + |
| 53 | +## Examples |
32 | 54 |
|
33 | 55 | ```tsx |
34 | 56 | import React from "react"; |
|
0 commit comments