Location of <script> tags Only place a <script> tag in a component file (.razor) if the component is guaranteed to adopt static server-side rendering (static SSR) without enhanced navigation. Placing ...
description Add, review, or fix JavaScript interop in Blazor components. USE FOR: calling JavaScript from Blazor, calling .NET from JavaScript, collocated .razor.js ...