refresh

tcmts.atproto.lib.react.refresh · #qzb263z7 · function · runs in the browser

uses tcmts.atproto.lib.react.router, which uses tcmts.atproto.lib.react.createRouter, which uses IntersectionObserver

Read again what's shown whose key starts with prefix (all of it, by default), after a change; what isn't shown is read when it is. Without a prefix, the page's server components are rendered again too, as after a server function call.

import { router } from "#codebase/tcmts/atproto/lib/react";

export const refresh = (prefix?: string): Promise<void> => router.refresh(prefix)

uses