Skip to content
S

support-prerendering

Make interactive Blazor components work correctly with prerendering

by dotnetFree

#4356in AI Skills
0In stores

Description

Support Prerendering is an agent skill for making interactive Blazor components behave correctly when prerendering is on. Prerendering is on…

Highlights

  • Fixes duplicate data loads in Blazor components
  • Removes flicker during the prerender handoff
  • Explains OnInitializedAsync and OnAfterRenderAsync timing
  • Checks the project's AGENTS.md interactivity settings first

Ratings & Reviews

No ratings yet

Be the first to rate support-prerendering.

People also visit

A

author-component

Create or review Blazor components (.razor files) with correct architecture

AI Skills
Get
U

use-js-interop

Add, review, or fix JavaScript interop in Blazor components

AI Skills
Get
P

plan-ui-change

Plan complex Blazor UI features by decomposing them into focused components

AI Skills
Get
F

fetch-and-send-data

Call APIs, load data into components, and handle the async lifecycle in Blazor

AI Skills
Get
C

collect-user-input

Build forms, validate data, and react to user input in Blazor

AI Skills
Get
C

create-blazor-project

Create a new ASP.NET Core web application or web site using Blazor

AI Skills
Get

support-prerendering FAQ

What problem does this skill solve?

Blazor components that load data twice, flicker when they become interactive, or behave differently after prerendering.

Why does OnInitializedAsync run twice?

The skill says prerendering renders the component once as static HTML, and the interactive runtime then renders it again.

How do I install it?

Run npx skills add https://github.com/dotnet/skills --skill support-prerendering in your project.

Is it free and open source?

Yes. It is published in the public dotnet/skills repository on GitHub.

What do the security audits say?

skills.sh lists Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass for this skill.

What are the best support-prerendering alternatives?

Popular alternatives to support-prerendering include author-component, use-js-interop and plan-ui-change. See all support-prerendering alternatives

Developer Stuff

Badges