All Questions
5
questions
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 ...
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 ...
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 ...
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 ...
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)}
>
...