Skip to content

registerPostMountRefresh

Install a post-mount refresh hook keyed by feature name. Re-registering with the same name replaces the previous hook (HMR-friendly). Called by feature secondary entries on import.

Plugin API

registerPostMountRefresh(name: string, hook: PostMountRefreshHook): void
NameTypeDescription
namestring
hookPostMountRefreshHook