title: Read value of Concatenated Identifier or Path in JSX/React?
body: <p>I tried all sorts of combination of syntax to try to read a dynamic path name, including concatenation techniques, with no success. Any clarity could be greatly appreciated!</p>
  <p><strong>DYNAMIC PATH:</strong> .question[<strong>I</strong>].state.DeltaTime<strong>X</strong>[<strong>Y</strong>]</p>
  <p>with <strong>I</strong>, <strong>X</strong>, and <strong>Y</strong> all being dynamic integer values.</p>
  <p><br><strong>CODE EXAMPLE:</strong></p>
  <pre><code>
  var I = 3
  var X = 2
  var Y = 1
  
  var value= question[I].state.DeltaTimeX[Y];
  
  //Im trying to read the value found at the following path: question[3].state.DeltaTime2[1],
  //where a floating number exists at this location.
  
  
  
  
  </code></pre>
  <p><strong>IMAGE OF PATH IN DATABASE</strong></p>
  <p>Yellow highlighted text is not dynamic.  Blue underlined is I, Red underlined is X, Black underlined is Y.</p>
  <p><a href="https://i.stack.imgur.com/5mCUM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5mCUM.png" alt="enter image description here" /></a></p>
  <p><strong>ANSWER</strong>
  Thanks to Dave's comment below the solution to this problem would be to use code similiar to this:</p>
  <pre><code>question[I].state[`DeltaTime${X}`][Y]
  </code></pre>