Skip to content

Commit

Permalink
chore: how about enqueueUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Aug 27, 2024
1 parent f7b43b3 commit 213eade
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/remix-dev/vite/static/refresh-utils.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ import.meta.hot.on("remix:hmr", async ({ route, serverOnly }) => {
routeUpdates.set(route.id, route);
}
if (serverOnly) {
__remixRouter.revalidate()
enqueueUpdate()
// revalidate()
// __remixRouter.revalidate()
}
});

Expand Down

0 comments on commit 213eade

Please sign in to comment.