Skip to content

Blazor .NET 8 WebApp with Static SSR - Initialization Issue #67

@skywalker1

Description

@skywalker1

The library does not seem to work in a Blazor WebApp project with static SSR rendering. The issue appears to be related to the initialization method:

protected override async Task OnAfterRenderAsync(bool firstRender)
This method is never called in a static SSR project, likely because Blazor static rendering does not invoke the standard component lifecycle methods in the same way as Server Mode or WebAssembly.

Is there an alternative approach or a workaround to initialize the library in a static SSR project? Any guidance would be greatly appreciated.

Thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions