For some reason I can't get this to work. I'm using Blazor 3.2prev1.
I added .AddStorage() to the services.
I added <script src="_content/Cloudcrate.AspNetCore.Blazor.Browser.Storage/Storage.js"></script>after the blazor.webassembly.js script.
I removed any other code that might reference to LocalStorage.
As soon as I try to render a component, I get a JSException: String contains invalid character.
For some reason I can't get this to work. I'm using Blazor 3.2prev1. I added .AddStorage() to the services. I added
<script src="_content/Cloudcrate.AspNetCore.Blazor.Browser.Storage/Storage.js"></script>
after the blazor.webassembly.js script. I removed any other code that might reference to LocalStorage.As soon as I try to render a component, I get a JSException: String contains invalid character.
Any idea what I might have done wrong here?