abordage / laravel-html-min

HtmlMin is very simple (and very fast) html compression package for Laravel
MIT License
17 stars 1 forks source link

[Bug]: LiveWire hydrate #23

Open Skinka opened 9 months ago

Skinka commented 9 months ago

Is the bug applicable and reproducible to the latest version of the package and hasn't it been reported before?

What version of Package are you using?

0.2.0

What version of Laravel are you using?

9.52

What version of PHP are you using?

8.2

Describe your issue

I has error when livewire component is updating

Livewire encountered corrupt data when trying to hydrate the [video-page] component. Ensure that the [name, id, data] of the Livewire component wasn't tampered with between requests.

if I turn off middleware then my component work fine

How can the issue be reproduced?

I installed last version of component when I can and turn on middleware and update livewire component

What should be the expected behaviour?

It should work )

abordage commented 9 months ago

Hi, @Skinka! Thanks for the report. Unfortunately I won't be able to check it out anytime soon.

If you figure it out on your own I'll be happy to accept a PR

Skinka commented 9 months ago

I don't understand yet why It is happening (( why corrupt data after middleware. and it is happening not all liveware components