Next.js Discord

Discord Forum

Link component causing page reload | Tauri+Nextjs

Answered
Naeemgg posted this in #help-forum
Open in Discord
Avatar
Can anybody please tell me why the Link component of next is causing a full page reload when used with Tauri???
its really causing too much problems for me.I have already a web app running fine but with tauri its causing a page reload and loosing all the states and other refs etc...
Answered by Naeemgg
If you place Card component from nextui inside a Link component from next/link.
View full answer

6 Replies

Avatar
can u share code..
Avatar
Thanks for your interest @Labh but the issue is fixed
Turned out to be nextui library issue
Avatar
If you place Card component from nextui inside a Link component from next/link.
Answer
Avatar
It'll somehow cause the page to reload on navigation
Pretty strange