-
Notifications
You must be signed in to change notification settings - Fork 25.2k
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
Assess guidance on use of <script>
tags in components
#34371
Comments
<script>
tags* section<script>
tags' section
@guardrex Thanks for creating the issue.
To be honest, my simplification isn’t entirely accurate. When enhanced navigation kicks in, the behavior is affected, and events like I think we could resolve this by adding a warning about how scripts might behave in different scenarios, with references to the appropriate sections where the details are already explained. |
<script>
tags' section<script>
tags in components
Description
Language from the article section ...
The current guidance was provided by the PU in the 8.0 era with additional updates perhaps twice since then, but per @hakenr ...
We'll try to get a PU engineer, probably Javier, on in January to help improve the section. The important bit on the compile-time error going away is true. Javier did remove that at 8.0 on dotnet/razor#8744. The summary from his PR that supports the current language is (emphasis added) ...
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
Related Issues
The text was updated successfully, but these errors were encountered: