From a5cd16f1fc92a5cef55ecd1f606f5554da56ae46 Mon Sep 17 00:00:00 2001 From: Vince Picone Date: Wed, 13 Jun 2018 11:21:17 -0500 Subject: [PATCH] RN expects a string, not a number for keyExtractor Same issue as here: https://github.com/wonday/react-native-pdf/issues/125 --- docs/network.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/network.md b/docs/network.md index 2e63bf815a6..256ce43ea3c 100644 --- a/docs/network.md +++ b/docs/network.md @@ -118,7 +118,7 @@ export default class FetchExample extends React.Component { {item.title}, {item.releaseYear}} - keyExtractor={(item, index) => index} + keyExtractor={(item, index) => index.toString()} /> );