DEV Community

Discussion on: ⚛️ 🚀 React Component Patterns

Collapse
 
justboris profile image
Boris Serdiuk

This could inevitably cause performance problems, because the passed in object to the value prop will be re-created every time a child component re-renders even if the values in the object haven't changed. DON'T DO THIS

Do you have any real evidences of any issues here?