Merge pull request #18 from donatoaguirre24/simplify-shouldDisplayPagination

Replace shouldDisplayPagination with shouldPaginate
This commit is contained in:
Artem Zakharchenko 2021-02-01 15:57:56 +01:00 committed by GitHub
commit 9b1daf41af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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