I am working on a blazor Web Assembly project. This projects contains javascript file. Some of them are located in wwwroot/js. And others are attached to a razor component in a collocated way (MyComponent.razor and MyComponent.razor.js).
In my index.html, my script located in wwwwroot/js are imported as below :<script src="js/myScript.js?v={APP_VERSION}"></script>
For The js script attached to my razor component, it is invoked inside the component cs code like this : _module = await JS.InvokeAsync<IJSObjectReference>("import", "./Pages/PathToMyComponent/MyComponent.razor.js");
When I modify these scripts, my web navigator (Edge or Chrome not tested with Firefox) does not take my modifications in account. The old version of my script are still loaded in the web navigator.
I don't understand why. Thanks for your help