An interactive map of the Preact codebase. The small React alternative, the whole repo in 276 files: the core, its React compatibility layer, hooks and debug tools. src/constants.js is what everything leans on.
276 files and 275 connections between their symbols.
test/_util/helpers.jsx
src/index.js
compat/src/index.js
src/constants.js
test/_util/logCall.js
src/component.js
src/create-context.js
src/create-element.js
src/create-portal.js
src/diff/children.js
src/options.js
src/render.js
compat/src/Children.js
compat/src/PureComponent.js
compat/src/forwardRef.js
compat/src/hooks.js
compat/src/memo.js
compat/src/portals.js
compat/src/render.js
compat/src/suspense.js
test/_util/dom.js
src/diff/index.js
src/util.js
src/diff/catch-error.js
compat/src/util.js
compat/test/browser/suspense-utils.js
debug/test/browser/fakeDevTools.js
demo/suspense-router/simple-router.jsx
src/diff/props.js
src/internal.d.ts
src/jsx.d.ts
test/_util/optionSpies.js
compat/test/browser/testUtils.js
debug/src/check-props.js
debug/src/component-stack.js
debug/src/debug.js
debug/src/constants.js
debug/src/util.js
demo/people/router.tsx
demo/people/store.ts
hooks/test/_util/useEffectUtil.js
hooks/test/browser/useEffectAssertions.jsx
jsx-runtime/src/utils.js
test/shared/isValidElementTests.jsx
compat/scheduler.js
compat/server.js
compat/test/ts/utils.ts
236 further files are in the graph but not listed here.
NeedyNodes is a free, browser-based tool that turns a codebase into an interactive dependency map: folders become regions, files are laid out in the direction their imports run, and circular dependencies or dead exports are flagged automatically. Point at a file to see what it uses and what uses it, or double click it to see every file a change to it can reach. It parses JavaScript, TypeScript, Python, Go, Rust, Vue and Svelte, up to 1000 files per map. Nothing is uploaded: parsing runs entirely in the browser.
Browse all visualized codebases · Visualize your own codebase