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): voidParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
name | string | |
hook | PostMountRefreshHook |