Replies: 2 comments 3 replies
-
|
Also I did try to use |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Previously I had this 2 functions:
And after calling
editOfficethe page that rendered the enterprise offices would re-render.But now, after nextjs 16 I sustituted
if (response.ok) revalidateTag('office');withif (response.ok) updateTag('office');If I understood correctly, now
updateTaginvalidates the cache fromgetEnterpriseOffices, but now the page does not re-render. I have to refresh the page manually or to navigate to another page and then go to the originalHow can I trigger this re-render when visualizing invalidated data?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions