Closed
Description
Description
This example does not seem to work with the .Net 8 Blazor template, i.e. when using the new type of server-interactive rendering.
The reason is that the root App component does not render in user-scope, but rather in some anonymous pre-render scope that you cannot disable. This causes the state container (TokenProvider service) to instantiate once for the App component while a different (user-scoped) instance is created for the consuming component.
Page URL
Content source URL
Document ID
c98be365-408d-7ee6-cb74-14c44d01b0b8
Article author
Metadata
Metadata
Assignees
Type
Projects
Status
Done