React - pre-populate form
问题 I need to prepopulate a form so that users can edit a blog they have previously created. I'm looking for the best-practices way of doing this in React. I am currently passing the value to a component through props, and then setting a state property to equal a props property, but I have read that this is an anti-pattern. I understand 'source of truth'. But what is a better way to do it? I would rather not use redux-form, for now. Below is my title component, and below that is how I call it