After the upgrade now I see this extra space at the end of the srcSet value, which causes a mismatch between the server-side and client-side and leads to the following warning: Warning: Prop "srcSet" did not match.
Here is how it looks like in the HTML code:
After the upgrade now I see this extra space at the end of the
srcSet
value, which causes a mismatch between the server-side and client-side and leads to the following warning:Warning: Prop "srcSet" did not match
. Here is how it looks like in the HTML code:Pay attention to the space after
somename.avif
It happens only in the Dev-Mode of Vite. When I build it for production it's all good.Also, I tried to downgrade Vite to 4.5.2, version by version and the issue takes place starting from version 5.0.0