79118735

Date: 2024-10-23 16:04:09
Score: 3
Natty:
Report link

I did some digging and found that passing a key from my server component (Page) to client component (Table) -- where key={query_param} -- fixed this. I believe the concepts are called "partial rendering" and "soft navigation" for Next? https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#4-partial-rendering

Not Next.js specific: Component does not remount when route parameters change

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: bunny