Functional Principles In React
summary
Claims four principles tie React and functional programming: composition, declarative style, immutability and isolation. Shows concrete tools: React with propTypes, Flux (and Redux), Immutable.js, and Elm. Demonstrates Elm’s enforced pattern init update view, effects returned as ports and a small GitHub events app that compiles and runs, proving “no undefined” at runtime and surfacing only compile errors. Recommends funneling server calls into one layer and using immutable updates so components remain predictable and testable.
AI-written summary · about
chapters (9)
- 0:00Start
- 3:56FUNCTIONAL PROGRAMMING
- 7:46COMPOSITION
- 12:23DECLARATIVE STYLE
- 13:44DATA IN, DATA OUT
- 14:40ISOLATION
- 16:26REASONING ABOUT CODE
- 17:251 MINUTE OF FLUX
- 18:33FLOW OF DATA
related talks
50mWriting React Components: The Functional Way
30mFunctional Programming Fundamentals
59mDeveloping React Applications with Functional Components
28mHow to use Functional Programming in your React app
32mIntroduction To Elm For React Developers
52mJavaScript: Programowanie funkcyjne w JavaScript
33mThe New Best Practices
27mI Heard React Was Good
