Update README.md

This commit is contained in:
Artem Zakharchenko
2018-04-19 10:54:35 +02:00
committed by GitHub
parent 81b823d425
commit 1099890560

View File

@ -230,7 +230,7 @@ if (isBlue && isPresent) {
```
#### `has`
Describes whether the current context possesses a certain value or state.
Describes whether the current context possesses a certain value or state (returns `Boolean`).
```js
/* Bad */
@ -263,7 +263,7 @@ function PostsList() {
```
#### `prev`/`next`
Indicate the previous and the next state of a variable in the current context. Useful for describing a state transition.
Indicate the previous and the next state of a variable in the current context. Useful for describing state transitions.
```jsx
function fetchPosts() {