router.push() Hard Refresh
Answered
Carolina Dog posted this in #help-forum
Carolina DogOP
Is there a way to make router.push() a hard refresh? I'm the docs they're saying that by default it does client side navigation (soft navigation). I tried using redirect() but it only works or server comps right? Thank you.
2 Replies
try to do it without any libs:
window.location.href = '/'Answer
Carolina DogOP
Okay, it worked, Thank you!