React Hooks and POST method : <p>I need to understand how can I setup a custom hook in React, for a POST method.</p>

<p>If I need to POST some data after a click, but I can't use the custom hook in an event handler, how can I do It?</p>

<p>I made a custom Hook with all the fetch logic and the relative reducers... but I dunno how to use It in a click, without breaking the rules.</p>

<p>Thanks.</p>
