Lightlines
By dotnet

use-js-interop

dotnet2.1k installs

Safer JavaScript calls in your Blazor components.

What it does

Structure Blazor JavaScript interop with typed wrappers, safe lifecycle timing, batched calls, and reference cleanup.

When to use it

Use when adding, reviewing, or fixing JavaScript calls, .NET callbacks, module lifecycles, or server-side interop safety in Blazor.

How to use it

It changes how the agent implements and reviews Blazor JavaScript interop by requiring typed wrappers and safe lifecycle timing.

What you provide

  • An existing project

Latest review

What you need · 0

No setup requirements listed.


Access · 0

No additional actions listed.