Skip to content

Commit 56546ba

Browse files
author
Claudéric Demers
authored
Merge pull request #4 from dfdeagle47/master
Update README.md
2 parents 0552d1f + 74b771d commit 56546ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ render(
8989
This method force recomputes the item sizes after the specificed index (these are normally cached).
9090

9191
`VirtualList` has no way of knowing when its underlying data has changed, since it only receives a itemSize property. If the itemSize is a `number`, this isn't an issue, as it can compare before and after values and automatically call `recomputeSizes` internally.
92-
However, if you're passing a function to `itemSize`, that type of comparison is error prone. In that event, you'll need to call `recomputeSizes` manually to inform the `VirtualList` that the size of it's items has changed.
92+
However, if you're passing a function to `itemSize`, that type of comparison is error prone. In that event, you'll need to call `recomputeSizes` manually to inform the `VirtualList` that the size of its items has changed.
9393

9494
## Reporting Issues
9595
Found an issue? Please [report it](https://github.com/clauderic/react-tiny-virtual-list/issues) along with any relevant details to reproduce it.

0 commit comments

Comments
 (0)