EXAMPLES
Every output below is generated automatically by running repowise init. No manual annotation, no hand-crafted docs — just the CLI and an LLM.
SELECT REPOSITORY
Stat cards, repository info, and recent indexing jobs.
847 files mapped as a directed graph. Node size = PageRank importance. Color = community cluster.
847 files · 2341 import edges · 7 communities
Auto-generated from source code + git history. Includes symbols, ownership, and a freshness score.
Implements all React Hook primitives for the Fiber reconciler. Each hook dispatches through a mutable dispatcher object that switches between mount-time (HooksDispatcherOnMount) and update-time (HooksDispatcherOnUpdate) implementations, enabling the rules-of-hooks invariant and enabling React DevTools hook inspection. The file is the single source of truth for hook state — every useState, useEffect, useCallback, useMemo, useRef, and useContext call routes through this module.
Exported Symbols
| Symbol | Kind | Description |
|---|---|---|
| renderWithHooks renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) | function | Sets up the dispatcher, renders the component, then tears down. Entry point for all hook execution. |
| mountState mountState<S>(initialState: (() => S) | S): [S, Dispatch<...>] | function | Mount-time implementation of useState. Allocates a new hook object on the memoized state queue. |
| updateState updateState<S>(initialState: (() => S) | S): [S, Dispatch<...>] | function | Update-time implementation of useState. Processes the pending update queue and returns the current state. |
| useCallback useCallback<T extends Function>(callback: T, deps: Array<mixed> | void | null): T | hook | Memoizes a callback function. Returns the same reference if deps haven't changed. |
Source Snippet
GIT INTELLIGENCE
CO-CHANGES
Files ranked by churn × complexity. The highest-risk areas to modify.
| Rank | File | Commits 90d | Churn | Owner | Status |
|---|---|---|---|---|---|
| #1 | src/ReactFiberWorkLoop.js | 47 | 98th | acdlite | HOT |
| #2 | client/ReactDOMRoot.js | 31 | 91th | sebmarkbage | HOT |
| #3 | src/ReactHooks.js | 28 | 87th | gaearon | HOT |
| #4 | forks/Scheduler.js | 19 | 76th | acdlite | WARM |
| #5 | src/ReactFiberHooks.js | 16 | 72th | yungsters | WARM |
| #6 | src/ReactFiberBeginWork.js | 14 | 68th | sebmarkbage | WARM |
| #7 | src/ReactSharedInternalsClient.js | 11 | 61th | gaearon | WARM |
Unreachable files, unused exports, and zombie packages — with confidence scores.
| File / Symbol | Kind | Confidence | Safe to Delete |
|---|---|---|---|
| bridge.js | Unreachable file | 94% | |
| ReactFiberLane.jsmergeLanes_TRANSITION_ONLY | Unused export | 88% | |
| ReactNoopRenderer.js | Unreachable file | 72% | — |
| ReactDOMUnknownPropertyDevWarning.jswarnForExtraAttributes | Unused export | 81% | |
| ReactDebugFiberPerf.js | Unreachable file | 96% | |
| react-dom | Zombie package | 65% | — |
Git blame + commit history analysis reveals who owns what and where bus factor is 1.
| Module | Primary Owner | Ownership % | Bus Factor | Contributors | Commits 90d | Silo |
|---|---|---|---|---|---|---|
| packages/react-reconciler/src/ | acdlite | 54% | 2 | 8 | 89 | |
| packages/react-dom/src/ | sebmarkbage | 71% | 1 | 4 | 52 | SILO |
| packages/scheduler/src/ | acdlite | 88% | 1 | 2 | 23 | SILO |
| packages/react/src/ | gaearon | 48% | 3 | 12 | 61 | |
| packages/react-devtools-shared/src/ | bvaughn | 82% | 1 | 3 | 14 | SILO |