Configuration file best practices

For configuration, I use a static json object. Super easy to use, available everywhere in my pages and components, available at runtime, no config to make it available and no worries about boot time. There are probably better solution, but I found that handy.

See my example there

P.S.: In java this would be equals to something like a class with static variables

 public class Resources {    
     public static final String API_URL = "https://";
 }