Check out example codes for "how to reference this gameobject unity". It will help you in understanding the concepts better.
Code Example 1
// use the keyword "this"
this.SetActive(true);
// the line above will set the GameObject this script is attached to active
Learn ReactJs, React Native from akashmittal.com