Next.js Discord

Discord Forum

display information from a database, refresh info on user event

Unanswered
Asiatic Lion posted this in #help-forum
Open in Discord
Avatar
Asiatic LionOP
I'm using a Next.js server component to get information from the database and use it in the component, and the component has some buttons in it (client components) that when pressed make changes in the database with put requests, how do I make the server component refresh when this happens?

0 Replies