Develop a React form using react-hook-form to capture user input for a name field and position coordinates. The position is selected by clicking inside a rectangular block or by adjusting X and Y sliders. The form should submit data to the server via fetch().
{