We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React refresh is not working when using @hono/vite-dev-server and vite-react-plugin.
To make it works, we should transform the HTML with viteServer.transformIndexHtml(req.url, html)
viteServer.transformIndexHtml(req.url, html)
https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react
The text was updated successfully, but these errors were encountered:
It could be possible to do it here https://github.com/honojs/vite-plugins/blob/main/packages/dev-server/src/dev-server.ts#L168
The issue is we are using Stream here.
Sorry, something went wrong.
As a workaround take a look here. #142 (comment)
We can close the issue if you want @yusukebe or we can wait for an "official way" to do it.
No branches or pull requests
React refresh is not working when using @hono/vite-dev-server and vite-react-plugin.
To make it works, we should transform the HTML with
viteServer.transformIndexHtml(req.url, html)
https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react
The text was updated successfully, but these errors were encountered: