# donavon/hook-flow

A flowchart that explains the new lifecycle of a Hooks component. https://dwe.st/hf

Repository: https://github.com/donavon/hook-flow
Canonical: https://ross.abutalabs.com/products/hook-flow
Language: Shell
License: MIT
License Family: permissive
Topics: react, reactjs, hooks, flowchart, diagram
Last push: 2022-11-15T05:06:58+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2733, "days_push": 1387, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2194, forks 77 (observed 2026-08-28T04:06:25.011706+00:00)

## What it is
A flowchart diagram explaining the lifecycle of a React Hooks component, available as an image and PDF. It can be opened in the browser via `npx hook-flow`.

## Use cases
- understand react hooks lifecycle order
- how do useEffect and useLayoutEffect run relative to render
- visual diagram of hooks component flow
- learn when cleanup functions run in react hooks
- explain hooks lifecycle to my team

## When to choose
- you need a quick visual reference for React Hooks execution order
- you are teaching or learning how hooks replace class lifecycle methods

## When to avoid
- you need interactive or up-to-date documentation for newer React versions
- you need a runnable tool rather than a static diagram

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation, developer-tools
- domain: frontend, web-development, tutorials
- platform: browser, cli, cross-platform
- tags: react-hooks, flowchart, diagram, lifecycle, npx

## Member repositories
- donavon/hook-flow (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:25.011706+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:47:16.409833+00:00, confidence not recorded.
  - readme: https://github.com/donavon/hook-flow (fetched 2026-08-28T04:06:25.011706+00:00, sha 7ff11ef81b72)
- Data as of 2026-08-30T08:39:29.467469+00:00.
