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

Code Example 1

Battlefield4u

Learn ReactJs, React Native from akashmittal.com