#full page refresh
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
in nextjs 13
is there any way to fully refresh the page ( like pressing refresh button from browser)
i tried router.refresh() but this one not triggering useEffect(()=>{},[])
in nextjs 12
it works with
router.reload(window.location.pathname);
for a full reload you can probably just use the standard JS way window.location.reload()
ok let me try that one