~/talk

Rethinking the View using React.js

Talkat RedDotRuby 2015 · 2015-06-04..06-05· [react, javascript]
links:none on file
slides:none on file

React.js replaces templates with composable components, JSX as a preprocessor, and one‑way props plus local state to describe UI; the runtime uses a virtual DOM diff so updates stay fast. Integration uses the react-rails gem which precompiles .js.jsx, mounts components into ERB, supports server‑side rendering (but lacks document access and requires global dependencies), and an example implements a tweet timeline that polls every 5 seconds and re-renders successfully.

AI-written summary · about

  1. 0:00Intro
  2. 0:42BIGBinary
  3. 2:17Simple
  4. 3:34Unconventional ideas
  5. 5:00Component is fn()
  6. 5:48Reusable
  7. 6:18Composable
  8. 6:38Separation of concerns
  9. 10:46No templates
  10. 12:37Managing Data
  11. 13:07Data changing over time is root of evil Pete Hunt
  12. 14:13One way data flow
  13. 14:31Immutable
  14. 15:54State is internal
  15. 17:17props state
  16. 17:37Responding to state changes
  17. 18:35Refresh
  18. 19:20REDDOT Re-Rendering the component tree
  19. 19:45Virtual DOM
  20. 20:38Minimal set of changes
  21. 20:51Batch updates
  22. 21:01Nothing is new!
  23. 21:57gem "react-rails"
  24. 24:54Syncs with asset pipeline
  25. 25:16Server side rendering
  26. 26:04Component Generator
  27. 26:27React Native
  28. 27:06Learning Curvel
  29. 27:40REDZOT Easy to sneak into existing projects
  30. 27:51experience!
~/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.