Check out example codes for "how to remove white space in the right side of web page". It will help you in understanding the concepts better.

Code Example 1

html,body {
    margin:0;
    padding:0;
    overflow-x:hidden;
}

Learn ReactJs, React Native from akashmittal.com