해결된 질문
작성
·
805
0
안녕하세요 무한스크롤 강의를 들은 이후로 이상한 에러가 뜹니다..
index.js:1 Warning: Encountered two children with the same key, `61888dc0bcad5b898380d112`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
다른 페이지에서 다시 홈으로 가면 이런 오류가 포스트마다 뜨네요.. 처음 로드될때 []안해줘서 그런건가요? 왜이러는 거죠?
강의 그대로 적은것인데 저 오류는 못고치나요?