Check out example codes for "new string' is redundant error". It will help you in understanding the concepts better.

Code Example 1

It is always redundant to use the constructor of String that accepts another 
String as an argument, since String is immutable, and therefore there is no point in creating a new String 
instance that is equal to the original instance. It is redundant.

Learn ReactJs, React Native from akashmittal.com