I think keeping them in the browser is a better approach. The server will not need to remember and fetch previous data.
- You will implement a simpler method in backend
If you think that your customer will need their shipping list across devices, save the list in the database, otherwise localStorrage, cookies are enough.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…