79450098

Date: 2025-02-19 03:20:54
Score: 2.5
Natty:
Report link

The current doubts have been resolved. The official statement is that this is the expected behavior with a loader. Since the loader may take a long time to run, the useNavigate hook is re-rendered, which is why an additional log appears in the console. The re-rendering of the useNavigate hook ensures that navigations are performed against the correct location.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dyb-dev