From 1f90401b44ab6bc09691b543ec484d025ba66be5 Mon Sep 17 00:00:00 2001 From: ThomSullivan <83840319+ThomSullivan@users.noreply.github.com> Date: Sun, 19 Mar 2023 10:15:48 -0500 Subject: [PATCH] Typo fix Day 6 --- 06_Day_Map_List_Keys/06_map_list_keys.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/06_Day_Map_List_Keys/06_map_list_keys.md b/06_Day_Map_List_Keys/06_map_list_keys.md index 956846d..4fd6d48 100644 --- a/06_Day_Map_List_Keys/06_map_list_keys.md +++ b/06_Day_Map_List_Keys/06_map_list_keys.md @@ -183,7 +183,7 @@ ReactDOM.render(, rootElement) ### Key in mapping arrays -Keys help React to identify items which have changed, added, or removed. Keys should be given to the elements inside the array to give the elements a stable identity. The key should be unique. Mostly data will come with as an id and we can use id as key. If we do not pass key to React during mapping it raises a warning on the browser. If the data does not have an id we have to find a way to create a unique identifier for each element when we map it. See the following example: +Keys help React to identify items which have been changed, added, or removed. Keys should be given to the elements inside the array to give the elements a stable identity. The key should be unique. Mostly data will come with as an id and we can use id as key. If we do not pass key to React during mapping it raises a warning on the browser. If the data does not have an id we have to find a way to create a unique identifier for each element when we map it. See the following example: ```js import React from 'react'