title: Is it possible to pass a React.hook to a function?
body: <p>Can I pass React.hooks to a function and use it there?</p>
  
  <pre><code>    const [X, setX] = useState('');
  
      function  Y(useX){
         useX('string');
      }
      Y(setX)
  </code></pre>