Merge pull request #42 from kettanaito/ahclc-confusion

Replaces confusing "getPost" with "getUser" in A/HC/LC pattern
This commit is contained in:
Artem Zakharchenko
2021-01-29 10:57:38 +01:00
committed by GitHub

View File

@ -135,8 +135,8 @@ Take a look at how this pattern may be applied in the table below.
| Name | Prefix | Action (A) | High context (HC) | Low context (LC) |
| ---------------------- | -------- | ---------- | ----------------- | ---------------- |
| `getPost` | | `get` | `Post` | |
| `getPostData` | | `get` | `Post` | `Data` |
| `getUser` | | `get` | `User` | |
| `getUserMessages` | | `get` | `User` | `Messages` |
| `handleClickOutside` | | `handle` | `Click` | `Outside` |
| `shouldDisplayMessage` | `should` | `Display` | `Message` | |