79349382

Date: 2025-01-12 05:10:48
Score: 0.5
Natty:
Report link

To avoid it u can use router.push(/whatever) to the stack. instead of router.replace(/whatever).

const navigateToListing = (id) => {
  const router = useRouter();
  router.push(`/listing/${id}`); 
};
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: AJAY B