Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify collocated scripts loaded via <head> content (HeadContent) #34502

Open
guardrex opened this issue Jan 15, 2025 · 1 comment · May be fixed by #34503
Open

Clarify collocated scripts loaded via <head> content (HeadContent) #34502

guardrex opened this issue Jan 15, 2025 · 1 comment · May be fixed by #34503

Comments

@guardrex
Copy link
Collaborator

guardrex commented Jan 15, 2025

Description

Need to double-check, but I don't think it's a supported approach.

Checked! It is supported with the usual caveat that it slows down page load.

If confirmed as not supported, remark on it in the collocated scripts section of the article.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/location-of-javascript?view=aspnetcore-9.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/javascript-interoperability/location-of-javascript.md

Document ID

af240267-89c0-f192-7807-cf426001ad8d

Article author

@guardrex

Metadata

  • ID: af240267-89c0-f192-7807-cf426001ad8d
  • Service: aspnet-core
  • Sub-service: blazor

Related Issues

Copy link
Contributor

💃🕺🥳 Happy New Year! 🎈🎆🍾🥂🎉

Stand-by! ... A green dinosaur 🦖 will be along shortly to assist.

@guardrex guardrex changed the title Clarify that scripts can't be loaded via <head> content (HeadContent) Clarify that collocated scripts can't be loaded via <head> content (HeadContent) Jan 15, 2025
@guardrex guardrex changed the title Clarify that collocated scripts can't be loaded via <head> content (HeadContent) Clarify collocated scripts loaded via <head> content (HeadContent) Jan 15, 2025
@guardrex guardrex moved this from Triage to In progress in Blazor.Docs Jan 15, 2025
@guardrex guardrex removed the Source - Docs.ms Docs Customer feedback via GitHub Issue label Jan 15, 2025
@guardrex guardrex linked a pull request Jan 15, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

1 participant