fastify-vite icon indicating copy to clipboard operation
fastify-vite copied to clipboard

Is it intended for ``waitFetch`` to be triggered when the ``location.hash`` changes?

Open SaidBySolo opened this issue 8 months ago • 0 comments

Prerequisites

  • [x] I have written a descriptive issue title
  • [x] I have searched existing issues to ensure the issue has not already been raised

Issue

https://github.com/fastify/fastify-vite/blob/7e360ad56e4ad51104f371b59a3f133985487511/packages/fastify-react/virtual/core.jsx#L81-L95

I was able to confirm that a request was made to '/-/data/path' whenever window.hash changed.

I thought that the request would not be made because hash is not a route change.

SaidBySolo avatar Jun 09 '25 09:06 SaidBySolo