DEV Community

Discussion on: Bad ReactJs practices to avoid

Collapse
 
tanth1993 profile image
tanth1993

I think Using props in Initial State in case we need to update data from props. ex: a input field needs defaultValue is prop then we change it and the new data in state.