forked from extern/naming-cheatsheet
Merge pull request #18 from donatoaguirre24/simplify-shouldDisplayPagination
Replace shouldDisplayPagination with shouldPaginate
This commit is contained in:
commit
9b1daf41af
@ -76,7 +76,7 @@ const shouldPaginatize = a > 10 // Made up verbs are so much fun!
|
||||
/* Good */
|
||||
const postCount = 5
|
||||
const hasPagination = postCount > 10
|
||||
const shouldDisplayPagination = postCount > 10 // alternatively
|
||||
const shouldPaginate = postCount > 10 // alternatively
|
||||
```
|
||||
|
||||
## Avoid contractions
|
||||
|
Loading…
Reference in New Issue
Block a user