Skip to content

remix/ui-hmr/runtime/server · Variable

View Source

uiHmrServerRuntime

Summary

Server component-refresh operations called by code generated by ui-hmr transforms.

This is an internal protocol surface for transformed modules, not an application API.

Signature

const __uiHmrServerRuntime__: { getCurrentComponentForHmr: (moduleUrl: string, componentName: string) => ComponentFunction; registerComponentForHmr: (moduleUrl: string, componentName: string, implementation: ComponentFunction) => void }