~/talk

Quantifying the Health of a React Codebase

Talkat Reactathon 2020 · 2020-03-30..03-31· [react, developer-experience]
links:none on file
slides:none on file

Shows how Flexport measures React health by using static analysis to answer concrete questions: find all files matching form.jsx, scan imports to compute an adoption rate and produce a list of non‑using forms (two outputs), and then enforce fixes. Uses AST Explorer to prototype queries and jscodeshift to implement them, produces a codemod that rewrites free text to i18n and an ESLint rule no string literals when a codemod isn’t feasible.

AI-written summary · about

  1. 0:00Intro
  2. 0:39The year is 1993... Rise of the internet
  3. 3:57The Ecosystem Lifecycle
  4. 6:19Codebase Health - What is the state of your codebase?
  5. 7:04In a React Codebase, questions around codebase health can look like
  6. 7:57Ask questions that have measurable answers
  7. 9:28Static Analysis - Our tools of choice
  8. 13:37Crystallizing best practices
~/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.