Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
skywalker1 opened this issue Dec 19, 2024 · 0 comments
Open

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

skywalker1 opened this issue Dec 19, 2024 · 0 comments

Comments

@skywalker1
Copy link

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!

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

No branches or pull requests

1 participant