Skip to content

Search the guides, deployment pages, and API reference.

@pitlane/vite-plugin-remix/hmr

Browser-side half of server-data HMR. Import from @pitlane/vite-plugin-remix/hmr in the app's browser entry.

See

HMR guide: Setup

Functions

  • revalidate. Applies a server update to the page: waits for initial hydration, then reloads the runtime's top frame, which refetches the current page through the app's fetch handler and reconciles it in place.