~/talk

Managing Feature Flags Efficiently

Talkat jsday 2021 · on Tuesday, 2021-07-06· [react, frontend-architecture]
links:none on file
slides:none on file

A large React/Redux codebase (uploader says "3000K lines") adopts a concrete pattern: pull flag evaluations into flags in Redux store, expose a toggler HOC at unit boundaries (components/reducers/actions), keep old and new versions in separate files, and automate add/remove with a shell script to remove flags. The result is measurable: rollouts (example 5%) and rapid rollbacks work, developer velocity returns, at the cost of short-lived duplicated code.

AI-written summary · about

  1. 0:00Start
  2. 4:25A feature flag is a conditional
  3. 8:59Control release
  4. 9:30Example use
  5. 14:08Digression: Structured programming
  6. 17:15File system structure
  7. 18:12Example toggler creation
  8. 19:45Old component
  9. 19:55New component
  10. 21:09Removal Process
~/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.