title: properties file in reactJS
body: <p>I have a few fixed/final variables in my React application. I need to put them in a properties file and read from that for the application. 
  Since I'm new to React, I don't know how to create a properties file and the location it needs to be placed. </p>
  
  <p>Secondly, I went through <a href="https://stackoverflow.com/questions/49706241/reactjs-read-a-properties-file">this</a> and it didn't help since I was not able to use the defined property in a way other than mentioned in this. </p>
  
  <p>Kindly guide me through the process of creating variables in the properties file. If the above mentioned way is suitable, then please suggest a way to use these variables as well (say assigning to another variable, or fetching and using it elsewhere). </p>
  
  <p>Here are some of the things I've tried:</p>
  
  <p>created a js file and put </p>
  
  <pre><code>export const properties = {
      value: 1
  };
  
  </code></pre>
  
  <p>Then, tried to read that by using</p>
  
  <pre><code>var valueInOtherClass = {properties.value}
  </code></pre>
  
  <p>This gives an error. </p>