---
title: "@pitlane/vite-plugin-remix/hmr"
description: "Browser-side half of server-data HMR. Import from `@pitlane/vite-plugin-remix/hmr` in the app's browser entry."
url: "https://pitlane.tools/package/vite-plugin-remix/hmr"
---

# @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](https://pitlane.tools/guides/hmr.md#setup)

## Functions

- [revalidate](https://pitlane.tools/package/vite-plugin-remix/hmr/function/revalidate.md). 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.
