Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

1
  • Sorry.. for delay, Here onChange is an attribute with "handler" method bound to it's instance. we passed the method handler to the Child class component, to receive via onChange property in its props argument. The attribute onChange will be set in a props object like this: props ={ onChange : this.handler } and passed to the child component So the Child component can access the value of name in the props object like this props.onChange Its done through the use of render props. Reference and credits: [blog.bitsrc.io/… Commented Aug 15, 2019 at 15:01