Next.js Discord

Discord Forum

Refresh all clients on route when revalidatePath called

Answered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
Is there a way to refresh all clients viewing a route when revalidatePath is called? I've looked into SSE and Websockets but I was wondering if there's a way to achieve this behavior in Next.js.
Answered by gin
nope
View full answer

4 Replies

Answer
websockets is the way
or the boring way using polling only
American black bearOP
Thanks @gin from what i was reading online this seemed to be the case but i figured i might as well ask.