File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -362,6 +362,12 @@ class InventoryList {
362
362
}
363
363
```
364
364
365
+ ### Large cases should be handled
366
+ In the list above, what would happen if 10,000 items came back from the
367
+ inventory? In that case you need some form of pagination or infinite scroll.
368
+ Be sure to always assess the potential edge cases in terms of volume, especially
369
+ when it comes to UI programming.
370
+
365
371
### Singular cases should be handled
366
372
``` javascript
367
373
@@ -381,9 +387,6 @@ class MoneyDislay {
381
387
}
382
388
```
383
389
384
- ### Large cases should be handled
385
-
386
-
387
390
### Commit messages should be clear and accurately describe new code
388
391
We've all written commit messages like "Changed some crap", "damn it",
389
392
"ugg one more to fix this stupid bug". These are funny and satisfying, but not
You can’t perform that action at this time.
0 commit comments