Haki Benita
1 min readFeb 27, 2017

--

Newbie question,

Should you modify model passed as prop inside the component? Updating a model might have side effects the component I not aware of.

The ExpandedForm component for example, is receiving an expanded prop and an onExpand handle. By doing this you delegate control over the component state to the parent (which is a good thing).

--

--