Skip to content

Commit 14bd91a

Browse files
authored
Update README.md
1 parent 27bb77e commit 14bd91a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ npm install react-intersection-observer --save
4848
### `useInView` hook
4949

5050
```js
51-
// Use object destructing, so you don't need to remember the exact order
51+
// Use object destructuring, so you don't need to remember the exact order
5252
const { ref, inView, entry } = useInView(options);
5353

54-
// Or array destructing, making it easy to customize the field names
54+
// Or array destructuring, making it easy to customize the field names
5555
const [ref, inView, entry] = useInView(options);
5656
```
5757

0 commit comments

Comments
 (0)