Skip to content

Commit fd665e7

Browse files
committed
grammar
1 parent 8d4f0e9 commit fd665e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/00 Quick Start/FAQ.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FAQ
77

88
### What is the @ syntax I see in the ES7 code examples?
99

10-
First of all, you don't have to be use ES6 or ES7 for React DnD. They make some of the code patterns more succinct, but it's up to you whether to enable these transformations.
10+
First of all, you don't have to use ES6 or ES7 for React DnD. They make some of the code patterns more succinct, but it's up to you whether to enable these transformations.
1111

1212
When I say “ES7”, I mean ES6 + a few extensions that *might* make it into ES7 (also known as ES2016). What I mark as the ES7 code in the docs is actually ES6 code + [class properties](https://gist.github.com/jeffmo/054df782c05639da2adb) + [decorators](https://github.com/wycats/javascript-decorators). You can enable these features by putting `{ "stage": 0 }` into your [.babelrc](https://babeljs.io/docs/usage/babelrc/) file. You can also [enable them individually](https://babeljs.io/docs/usage/experimental/).
1313

examples/04 Sortable/Stress Test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default class SortableStress extends Component {
2020
<div>
2121
<p>
2222
How many items can React DnD handle at the same time?
23-
There is a thousand items in this list.
23+
There are a thousand items in this list.
2424
With some optimizations like updating the state inside a <code>requestAnimationFrame</code> callback, it can handle a few thousand items without lagging.
2525
After that, you're better off using virtual lists like <a href='https://github.com/facebook/fixed-data-table'>fixed-data-table</a>.
2626
Luckily, React DnD is designed to work great with any virtual React data list components because it doesn't keep any state in the DOM.
@@ -33,4 +33,4 @@ export default class SortableStress extends Component {
3333
</div>
3434
);
3535
}
36-
}
36+
}

0 commit comments

Comments
 (0)