react native using ref to log a jsx element code example Example: cre&atRefs react js const node = this.myRef.current;