From d60fbe4798a59694cc671b1eee9b41dd9fe8d5b4 Mon Sep 17 00:00:00 2001 From: Abhishek Ghosh Date: Sun, 14 Jul 2019 21:46:43 -0700 Subject: [PATCH] Fix typo in Virtualized List's maxToRenderPerBatch (#25630) Summary: I was reading upon the `maxToRenderPerBatch`'s docs when I found the typo. Checked the [documentation website](https://facebook.github.io/react-native/docs/virtualizedlist#maxtorenderperbatch) and seems correct there. Found this when I hovered cursor over that prop in VSCode. ## Changelog [General] [Fixed] - Fixed typo in `VirtualizedList#maxToRenderPerBatch` Pull Request resolved: https://github.com/facebook/react-native/pull/25630 Test Plan: Ran `npm test` (and `npm run lint`). Screen Shot 2019-07-13 at 12 54 31 AM Differential Revision: D16258535 Pulled By: mdvacca fbshipit-source-id: ba79a631b46e1056063b1b5c45ead3e36738823e --- Libraries/Lists/VirtualizedList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Lists/VirtualizedList.js b/Libraries/Lists/VirtualizedList.js index 2abbfe27cda..0eb7f375984 100644 --- a/Libraries/Lists/VirtualizedList.js +++ b/Libraries/Lists/VirtualizedList.js @@ -160,7 +160,7 @@ type OptionalProps = { listKey?: string, /** * The maximum number of items to render in each incremental render batch. The more rendered at - * once, the better the fill rate, but responsiveness my suffer because rendering content may + * once, the better the fill rate, but responsiveness may suffer because rendering content may * interfere with responding to button taps or other interactions. */ maxToRenderPerBatch: number,