Writing React Components: The Functional Way
summary
Argues that a functional approach beats class‑based patterns by showing concrete rewrites: small pure functions, immutable data structures, and higher-order components that encapsulate state and lifecycle give reusable presentation components; composition via compose combines enhancers; practical use of recompose (withState, withHandlers, pure) prevents needless rerenders and preserves handler identity. Presents a working Star Wars list demo used at Ataccama, explains when classes are hidden inside HOCs, and demonstrates that the approach scales and improves maintainability and performance.
AI-written summary · about
chapters (5)
- 0:00Start
- 1:06ataccama
- 3:01Taste the Principles of Functional Programming
- 9:39separation of logic and presentation • reusable components
- 39:57Functional Component and Performance
related talks
59mDeveloping React Applications with Functional Components
35mAdvanced patterns in building React Components
28mFunctional Principles In React
28mHow to use Functional Programming in your React app
30mRecomposing your React application
21mKeynote Simply React
25mSimply React
34mAdvanced React Component Patterns
