call onChange property of a child element through ref in reactJS code example Example: cre&atRefs react js const node = this.myRef.current;