Check out example codes for "results of 1812". It will help you in understanding the concepts better.

Code Example 1

America and Britain would be at peace.
American sailors were no longer captued by the British.
Britain removed the trade restrictions from America.

Learn ReactJs, React Native from akashmittal.com