We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27bb77e commit 14bd91aCopy full SHA for 14bd91a
1 file changed
README.md
@@ -48,10 +48,10 @@ npm install react-intersection-observer --save
48
### `useInView` hook
49
50
```js
51
-// Use object destructing, so you don't need to remember the exact order
+// Use object destructuring, so you don't need to remember the exact order
52
const { ref, inView, entry } = useInView(options);
53
54
-// Or array destructing, making it easy to customize the field names
+// Or array destructuring, making it easy to customize the field names
55
const [ref, inView, entry] = useInView(options);
56
```
57
0 commit comments