Skip to content

JS files being duplicated #5171

Answered by sbwalker
Sharafudeen asked this question in General
Mar 13, 2025 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

@Sharafudeen please watch this video which explains JavaScript behavior in Static Blazor:

https://www.youtube.com/watch?v=SNzAHzXyqiI

It explains that script tags are ignored in enhanced navigation, so the BlazorScriptReload recreates the script elements in the head so that they will be executed.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Sharafudeen
Comment options

@sbwalker
Comment options

Answer selected by Sharafudeen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants