~/talk

Solid for React Developers

Talkat Shift Miami 2023 · on Tuesday, 2023-05-23· [react, javascript]
slides:none on file

Compares React and Solid by name and shows concrete code: use of createSignal/getter functions, derived signals, createEffect and createMemo, and a working counter and interval example that expose three common pitfalls — signals must be called as functions, props must not be destructured, and the component function is called once. Explains Solid’s compiled templates (no virtual DOM), Create Store, batch updates, directives (use field) that wire inputs to libraries, Solid Start for SSR, and claims noticeably faster, surgical DOM updates in benchmarks.

AI-written summary · about

  1. 0:00Introduction to Solid.js
  2. 1:24Imperative vs Declarative Programming
  3. 3:54What Are Signals?
  4. 7:05React vs Solid Components
  5. 9:55Component Lifecycle in Solid
  6. 12:26Handling Props in Solid
  7. 14:13Common Hooks in React vs Solid
  8. 17:02Flow Control in Solid
  9. 19:06Styling and Class Props
  10. 21:34Lifecycle Methods in Solid
  11. 22:15Lightning Round of APIs
  12. 24:45Performance Comparison
  13. 26:07Conclusion and Recommendations
~/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.