Storage icon indicating copy to clipboard operation
Storage copied to clipboard

Doc and official package inconsistency?

Open datvm opened this issue 5 years ago • 1 comments

I was so confused because the doc state that I should use ILocalStorage but in my package installed from Nuget there is no such thing. I checked the source code and see ILocalStorage is there but have no idea why I can't use it.

Turned out the Nuget official release is still at 1.0.0 (I see there are 2 preview versions now), and there is an update 3 months ago that change it.

I think the README should be updated to say that, if we are still using the official 1.0.0, we should use LocalStorage instead until next version is official released..

datvm avatar Feb 26 '20 18:02 datvm

Me too. Just wasted over an hour trying to chase this down. ILocalStorage does not exist, even though it is there in the source. It is not a good sign that the authors didn't reply to your issue!

I was interested in this package because Microsoft.AspNetCore.ProtectedBrowserStorage is pre-release, but now I shall use it anyway.

Bananas-Are-Yellow avatar Jun 15 '20 16:06 Bananas-Are-Yellow