Persisting your users preferences using Blazor and Local Storage

added by DotNetKicks
1/14/2021 11:29:18 AM

717 Views

In the last post we saw how you can use TailwindCSS with Blazor to toggle "dark mode" on and off in your web applications. But it's a pain for your users to have to do this every time. It would be much nicer if this setting was persisted in some way.


0 comments