Closed FHoulbreque closed 3 days ago
Your reprodution is 404.
Hello @FHoulbreque. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs reproduction
will be closed if they have no activity within 3 days.
Your reprodution is 404.
My bad, forgot to set the repository to public. Solved.
It seems you are using laravel-vite-plugin. It might be caused by the plugin. Please report it there, thanks. If you can trim the reproduction down removing the plugin or if you find out that this is caused by Vite itself, feel free to reopen it.
Describe the bug
While progressing through development of my code (here it's coming from a course on Laracast) I encountered a strange behaviour with HMR:
wire:model
or not on it, the page reload and reset the state. It doesn't occur every time, it generally occurs when there has been a change either on the blade or the PHP part of a liverwire component.Reproduction
https://github.com/FHoulbreque/vite-livewire-hmr-bug
Steps to reproduce
System Info
Used Package Manager
npm
Logs
No response
Validations