| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -650,7 +650,7 @@ then any other function that uses that `cart` array will be affected by this | |||
| 650 | 650 | addition. That may be great, however it can be bad too. Let's imagine a bad | |
| 651 | 651 | situation: | |
| 652 | 652 | ||
| 653 | - The user clicks the "Purchase", button which calls a `purchase` function that | ||
| 653 | + The user clicks the "Purchase" button which calls a `purchase` function that | ||
| 654 | 654 | spawns a network request and sends the `cart` array to the server. Because | |
| 655 | 655 | of a bad network connection, the `purchase` function has to keep retrying the | |
| 656 | 656 | request. Now, what if in the meantime the user accidentally clicks "Add to Cart" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments