title: Using template literal within JSON objects in React component
body: <p>I have API data in my React component. It's in the form of</p>
  <pre><code>{weather.Wind.Speed.Metric.Value}
  </code></pre>
  <p>Is there any way I can swap Metric out for a variable such as unit.</p>
  <p>For example something like</p>
  <pre><code>const unit = 'Metric';
  
  {weather.Wind.Speed.${unit}.Value}
  </code></pre>
  <p>That way I can update the variable and show the correct data?</p>