Y
Hacker News
new
|
ask
|
show
|
jobs
by
fire_lake
739 days ago
Functional Components are not functional in the sense of functional programming. They are shared mutable state.
2 comments
patates
739 days ago
Function-based components. They have vaguely functional aspects but they are not functional indeed. I think most people say functional because "function-based" is too long.
link
lastdong
739 days ago
If I recall correctly we have stateless functional components (not managing any state). Functional in React should mean immutable state.
link