Open TeddyLourson opened 1 year ago
I recorded a video to show whatâs going on on my side : HMR Bug However itâs using my own project here, but itâs very similar. The basic skeleton of the HTML is :
<html>
<head>âŠ</head>
<body>
<nav>
<ul>
<li>
<Link>âŠ</Link>
</li>
<!â Other Link tags â>
</ul>
</nav>
</body>
</html>
@jordanw66 I just tried everything you said and confirm everything but I have something more to add.
Basically what you said on your last point, but you have to save a new change to the imported component for it to work normally or else you're getting flashes only.
@jordanw66 I just updated the title and description. Tell me if I need to change anything.
Which component is affected?
Qwik Runtime
Describe the bug
In dev mode : Clicking on a
Link
tag disable hot reload on components imported inside a layout. (Updates in the layout itself works, changes in the active page works but changes in components imported in the layout wonât be shown in the browser). To get back to normal, you have to make a change to the layoutâs HTML and then a change inside the components imported in the layout.Note : This bug cannot be reproduced in the provided CodeSandbox (in the browser), you should try on your own dev server.
Reproduction
https://codesandbox.io/p/sandbox/tender-turing-ylwr7g
Steps to reproduce
Link
element. (Make sure it is aLink
this does not apply to nativea
tags)System Info
Additional Information
Note : This bug cannot be reproduced in the provided CodeSandbox (in the browser), you should try on your own dev server.