~/talk

Why I Love JSX!

Talkat Reactathon 2018 · 2018-03-20..03-22· [javascript, react]
github:jayphelps
slides:none on file

JSX is an XML‑like syntax extension that compiles to function calls (Babel/TypeScript emit React.createElement by default or a custom pragma), so any JSX becomes a tag, a props POJO, and a children spread at runtime. Examples shown: declarative data fetching with a Fetch component (render-prop), using JSX as JSON for webpack configs, and safer interpolation that prevents XSS. Works outside React and gives compile‑time validation and normal JavaScript expressiveness.

AI-written summary · about

  1. 0:00Introduction to JSX
  2. 2:08What is JSX really
  3. 7:46JSX as function calls
  4. 12:04JSX beyond simple tags
  5. 15:59Security benefits of JSX
  6. 18:48JSX conventions explained
  7. 21:16Non-React uses of JSX
  8. 23:23JSX for JSON configs
  9. 24:48Why not template literals
  10. 27:13JSX vs templating languages
  11. 30:45Why I love JSX
  12. 31:47Q&A and closing
~/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.