Questions tagged [next-link]
67 questions
0
votes
0 answers
Next/Link works laggy
I have next.js site on production works with strapi. I have three main pages and dynamic sub pages.
- "/"
- "/[slug]"
- "/About"
- "/Contact"
"/[slug]" page has two routing method. If user go this page from "/" it works as contextual routing…

omerkocaaga
- 57
- 1
- 9
-1
votes
1 answer
Page routing through dropdown (NEXT.js)
I want to route to different pages through dropdown selection. I'm new to react & next, and i have no idea how to do it.
"use client"
import Link from 'next/link';
function Home() {
return (
Hello
-1
votes
2 answers
LinkProps is missing in next-intl/link (when migrating from next/link)
I used LinkProps to create custom Link wrappers and pass native props along with my custom ones. Pretty standard pattern:
import {type LinkProps} from "next/link";
import {type ImageProps} from "next/image";
export interface NavbarItemProps extends…

Roman86
- 1,990
- 23
- 22
-1
votes
1 answer
does next link has built in style
Next Link ruin my style (display flex)
{res.results.map((movie) => (

Ronell Villamil
- 9
- 2
-1
votes
1 answer
Next.js: how to create entry browser history
I have been trying to create an entry in the browser history every time I navigate to a new page in Next.js with the Link property provided by them, but I am not able to push an entry to the browser history, so if I go back one page I am not on the…

Micael Coutinho
- 13
- 3
-1
votes
1 answer
Next js with dynamic routing ([[…slug.js]]) to handle all URLs show 404 for links to home page - but only when deployed
I want a single dynamic route to handle all requests in this application, so I have written a file named [[...slug]].js to do so. I use getServerSideProps() for data loading, so it is server-side rendered, generally. I don't have any index.js…

hallvors
- 6,069
- 1
- 25
- 43
-1
votes
1 answer
How do I make the Link appear above the component I made?
How do I make the Link appear above the component I made?
Im using Next.js 11 version.
This is error message.
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
Check…

Jundev
- 93
- 1
- 7