~/lightning

React to Code

Lightningat React Conf 2017 · on Monday, 2017-03-13· [react, developer-experience]
slides:none on file

A small tool called react sourcer parses source into an AST provider via Babylon and keeps that tree as state; matchers run over every node using Babel types to detect patterns like importing lodash, calls to _.forEach, and line numbers for each hit. It can rewrite code (replace lodash usage with the native forEach), compose scope and nested matches to handle aliasing, and emits a history of edits; a GitHub repo link is provided and examples run end to end.

AI-written summary · about

  1. 0:00Start
  2. 3:04Prebuilt Matchers
  3. 3:31Scoped Matches
  4. 4:10Nested Matches
  5. 4:56Thank You Organizers & Audience
~/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.