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








