title: How to change value in array with index in react native
body: <p>I have an array in my state:  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>state = {
    some_array: [1,1,1,3,6,3,6,23], // sorry for the syntax it's changed
   }
   
   </code></pre>
  </div>
  </div>
  </p>
  
  <p>Now I want to change value in that array that has index let's say 4, and in this case that would be number 6, or if I want to change index 1, that would be second number or array.<br>
  I know this is probabbly very simple but I'm just very confused.</p>
  
  <p>If you need more info please comment.</p>
  
  <p>Thanks!</p>