All Questions

Tagged with
Filter by
Sorted by
Tagged with
9 votes
2 answers
23k views

How to trigger hard refresh when redirecting to a different page in Next.js?

I have a <Link> to a certain page on my Next.js website. Upon clicking it, I want the webpage to hard reload after it redirects to the destination page (whether it reloads before or after the ...
Niranjan Rajesh's user avatar
0 votes
3 answers
9k views

Next.js 13 routing params

Hi folks first of all i am new to react and nextjs. So i am sorry if my question is stupid. I am currently building a navigation with nextjs 13 within new the app folder. Here is my navigation ...
AndiGo's user avatar
  • 1
0 votes
1 answer
50 views

How To Use Next Link for Routing to Avoid Page Refresh

Below is the code for my navbar: 'use client' import { useState } from 'react'; import { GiHamburgerMenu } from 'react-icons/gi'; import Link from 'next/link'; import Image ...
Lewis Wachira's user avatar
0 votes
1 answer
196 views

Next JS Routing with Link Component in Production

I have a simple NextJS 14 app (I am new to NextJS) I have set a simple web app with 3 routes for testing I have developed the route page it contains 1 background video and few images. I did deploy the ...
Ahmed's user avatar
  • 21
0 votes
1 answer
988 views

Next/Link refreshes page on shallow routing

I have a Link: <Link href={href} passHref shallow> <StyledLink $active={active} $disabled={disabled} onClick={() => passBackNumber(number)} > ...
Alyona's user avatar
  • 1,770