We already have a reference to the preview element, so there is no need to look it up again. This saves about 1ms per keypress in my testing. |
||
|---|---|---|
| .. | ||
| app | ||
We already have a reference to the preview element, so there is no need to look it up again. This saves about 1ms per keypress in my testing. |
||
|---|---|---|
| .. | ||
| app | ||