What I\'m trying to do:
I am trying to pass a string from a child component to the handleChange function of a parent component.
What cur
When you are writing this:
handleChange will be called immediately as soon as render is triggered.
handleChange
Instead, do it like this:
this.props.handleChange("tags", e)}>
Now the handleChange will be called when onChange handler is called.
onChange