title: React - Is useState 's setter function able to change?
body: <p>Is useState's setter able to change during a component life ?</p>
  <p>For instance, let's say we've got a <code>useCallback</code> which will update the state.
  If the setter is able to change, it must be set as a dependency for the callback since the callback use it.</p>
  <pre><code>const [state, setState] = useState(false);
  const callback = useCallback(
      () =&gt; setState(true),
      [setState] // &lt;-- 
  );
  </code></pre>