Next.js Discord

Discord Forum

Updating an SSR Page Upon Record Changes in Supabase ORM

Answered
British Shorthair posted this in #help-forum
Open in Discord
British ShorthairOP
APP router

Is it possible to dynamically update an SSR (Server-Side Rendered) page in a Supabase ORM application when a record in a results table is updated, without the need for a client-side component?

My approach involves sending a webhook when a row is updated, revalidating the path in the route, and rendering the updated row on the page without making a new request to the server. Is this approach feasible, or are there alternative methods to achieve this functionality efficiently?
Answered by British Shorthair
NVM: Just use the revalidate tag.
View full answer

1 Reply

British ShorthairOP
NVM: Just use the revalidate tag.
Answer