oboogy
oboogy
TTCTheo's Typesafe Cult
Created by oboogy on 11/16/2022 in #questions
How to re-run a function in Server components on navigation to get fresh data?
Anyone know how to make sure async functions in the server components rerun when navigated to? They’re only being called on first mount currently. When you link back to a page.js server component the async data function doesn’t rerun. Using app directory in NextJS 13
6 replies