Skip to content

Improve description of AllowUpdates - #37494

Open
guardrex wants to merge 3 commits into
mainfrom
guardrex/blazor-allowupdates-and-enhanced-nav
Open

Improve description of AllowUpdates#37494
guardrex wants to merge 3 commits into
mainfrom
guardrex/blazor-allowupdates-and-enhanced-nav

Conversation

@guardrex

@guardrex guardrex commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Fixes #37483

Ilona ... I opened a framework API summary change for this at dotnet/aspnetcore#68618. I need help interpreting and selecting the best language for Dan's remark over here ...

Add a short note near the first AllowUpdates example explaining that it doesn't control whether later mutations are captured when a circuit pauses.

I'd like to specify that we're talking about property mutations and not use the word "later" unless we end up specifying when "later" is, so my draft goes like this ...

For >=11.0 ...

PersistentStateAttribute.AllowUpdates doesn't control whether property mutations are captured when a circuit pauses due to [circuit state persistence](xref:blazor/state-management/server#circuit-state-persistence) or [tab inactivity](xref:#automatic-circuit-pause-on-tab-inactivity).

For >=10 and <11.0 ...

PersistentStateAttribute.AllowUpdates doesn't control whether property mutations are captured when a circuit pauses due to [circuit state persistence](xref:blazor/state-management/server#circuit-state-persistence).

We could also work further with the word "control" as well. Should it state something more like ...

PersistentStateAttribute.AllowUpdates doesn't result in capturing property mutations while a circuit pauses due to ...

If correct, such a change clarifies what "control" means in the original sentence.


Internal previews

File Preview link
aspnetcore/blazor/state-management/prerendered-state-persistence.md aspnetcore/blazor/state-management/prerendered-state-persistence
aspnetcore/blazor/state-management/server.md aspnetcore/blazor/state-management/server

@guardrex
guardrex requested a review from ilonatommy August 18, 2026 10:52
@guardrex guardrex self-assigned this Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify PersistentStateAttribute.AllowUpdates and enhanced navigation

1 participant