|
|
|
|
|
by seer
2892 days ago
|
|
Hah I get where you’re going with this example, but shopping carts in particular do want to keep the line in the cart as “local state” because the desired behaviour is that once a customer has added something to his cart, within a reasonable time limit is what he pays for, even if there are some sort of price flux. So probably not the best of examples. Anyway I myself so wholeheartedly agree with the minimizing state idea. |
|