你的位置: 码友网首页 / 资讯源列表 / Blazor Shopping Cart Sample using Local Storage to Persist State

关于[Blazor Shopping Cart Sample using Local Storage to Persist State]的摘要:

This little demo is based on a Gist written by Steve Sanderson where he shows how to persist state in the browser using sessionStorage. His demo shows how to persist the counter value but I wanted to try something a bit more real-world, a very simple shopping cart, and also to use localStorage rather than sessionStorage. You can download the project here.

原文地址: http://www.appvnext.com/blog/2020/3/7/blazor-shopping-cart-sample-using-local-storage-to-persist-state

收录时间: 2020-03-12 浏览量: 3682 分类: Blazor

| 0 收藏 | 0