Skip to content

Commit ab01db0

Browse files
committed
Add large cases
1 parent 9d0cc09 commit ab01db0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,12 @@ class InventoryList {
362362
}
363363
```
364364

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+
365371
### Singular cases should be handled
366372
```javascript
367373

@@ -381,9 +387,6 @@ class MoneyDislay {
381387
}
382388
```
383389

384-
### Large cases should be handled
385-
386-
387390
### Commit messages should be clear and accurately describe new code
388391
We've all written commit messages like "Changed some crap", "damn it",
389392
"ugg one more to fix this stupid bug". These are funny and satisfying, but not

0 commit comments

Comments
 (0)