~/talk

The weird things about React

Talkat React Finland 2022 · 2022-09-12..09-16· [react, testing]

Covers concrete surprises: Strict Mode double-render and effects running twice with a demoable fix, conditional rendering quirks in JSX, forwardRef and “dozens of ways to create refs,” render props surviving to today, act/test pitfalls, non-extendable classes and SuspenseList still vaporware. Shows a TypeScript codemod around props-with-children and describes a published npm tool react-reduce-stress that detects strict mode and pops a helpful warning. Includes a console-patch prank proof-of-concept and notes one real warning was reported and fixed.

AI-written summary · about

  1. 0:00Intro
  2. 1:20My journey
  3. 2:08What I like
  4. 3:27Remounting components
  5. 4:31Composition
  6. 4:43Mixins
  7. 5:28Highlevel components
  8. 6:42Hooks
  9. 8:15Exports
  10. 9:25React on XJS
  11. 10:17React types
  12. 12:59React expects children
  13. 13:49React FC
  14. 14:05Code Mod
  15. 16:06Warnings
  16. 16:51Console Log
  17. 17:32Patch Console Log
  18. 18:01Hiding Console Log
  19. 20:06Strict Mode
  20. 20:47What does it do
  21. 22:42Rendering twice
  22. 23:08Constant lock
  23. 23:38Reduce stress
  24. 24:42Strict mode detection
  25. 25:30Dark mode support
  26. 26:13Conclusion
~/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.