Skip to content

[PersistentState] not working when page is re-executed #64386

@AndreiGorlov

Description

@AndreiGorlov

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

[PersistentState] not working if page is re-executed e.g. when showing /not-found

Expected Behavior

No response

Steps To Reproduce

Repro: https://github.com/AndreiGorlov/PersistentStateReExecuteRepro

Reload home/counter/weather: Initial RendererInfo.Name:Static Current RendererInfo.Name:Server - All good

Hit "Not found test" (or try to open non existing page): Initial RendererInfo.Name:Server Current RendererInfo.Name:Server - InitialRenderMode not persist

Exceptions (if any)

No response

.NET Version

10.0.100

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions