title: Remove item from an array (useState Hook)
body: <p>Have a useState hook like so:</p>
  <pre><code>const [array, updateArray] = useState([])
  </code></pre>
  <p>I know you can add items to the array using a spread operator like so.. (where item is whats being added)</p>
  <pre><code>updateArray(array =&gt; [...array, item])
  </code></pre>
  <p>how would you remove something from this array? Assuming you have the name of that array item. (remove based off value not index)</p>
  <p>Thank you!</p>