Check out example codes for "optimized lots of html elements". It will help you in understanding the concepts better.

Code Example 1

document.createElement("tagName"); // This is the fastest way to create an element

Learn ReactJs, React Native from akashmittal.com