Hello everyone,
I have a page for item, and there is a simple component with toggle to change state, so I use useFetcher (see screenshot). Works great, but fi after successfully submission I navigate to another page and then come back to item page my useEffect is triggered this data from last submission is still exists.
How I can fix that?