DEV Community

Discussion on: Functional Programming with Forms in React

Collapse
avikaminetzky profile image
Avi Kaminetzky • Edited on

Agreed.

I would just add that with this pattern you get all the benefits of stateless functional components.
See this article (he notes that pure functions become easier to reason about, in functional programming jargon, "referential transparency"):
hackernoon.com/react-stateless-fun...