Check out example codes for "how to reload app.config file at runtime in c#". It will help you in understanding the concepts better.

Code Example 1

public static void RefreshAppSettings()
{
   ConfigurationManager.RefreshSection("appSettings");
}

Learn ReactJs, React Native from akashmittal.com