~/talk

Dead Code Shouldn’t Exist: How We Removed 28k Lines of Code, One Knip at a Time

watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/dead-code-shouldnt-exist-how-we-removed-28k-lines-of-code-one-knip-at-a-time
Talkat JSNation 2026 · on Thursday, 2026-06-11· at 15:05· [frontend-architecture, developer-experience]

Describes using Knip to detect and remove unused frontend files, exports, and dependencies in Sentry’s codebase, resulting in about 28k lines removed. Covers how Knip was integrated into workflows, the practical steps taken to safely delete dead code, and the edge cases encountered and lessons learned.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.