Check out example codes for "Enable Template Path Hints for Storefront". It will help you in understanding the concepts better.

Code Example 1

php bin/magento dev:template-hints:disable

Code Example 2

php bin/magento dev:template-hints:enable

Learn ReactJs, React Native from akashmittal.com