Check out example codes for "tldr;". It will help you in understanding the concepts better.

Code Example 1

Too Long; Didn't Read. (tl;dr)(tldl)

Learn ReactJs, React Native from akashmittal.com