const fetcherDelete = useFetcher();
console.log ("state ",fetcherDelete.state);
console.log ("_id ",fetcherDelete.submission?.formData.get("_id"));
In this code the idea is to capture one of the form fields with
fetcherDelete.submission?.formData.get("_id")
The three state are displayed in the console, however as for the _id field just getting undefined repeatedly in the console.
this code is meant to valid but it doesn't work and there is no information on this subject or useTransition() on the internet.