Discussion about this post

User's avatar
Sudip chand's avatar

Will this work even in enhanced navigation too like it does in Server Interactivity enhanced navigation. Because when i tried it in enhanced navigation doing [PersistentState(AllowUpdates = true)] it does not work . I am doing this on Blazor Web App WebAssembly Interactivity.

Please help me on this

David Cuccia's avatar

Thanks! I typically have my state variables factored into a container object that gets injected via DI. How would I use PersistentState in that case/on that injected instance?

No posts

Ready for more?