Check out example codes for "my goal is to be remembered in history". It will help you in understanding the concepts better.

Code Example 1

then do something so great that eyerbody remembers you

Learn ReactJs, React Native from akashmittal.com