nomalize (1) 썸네일형 리스트형 상태 정규화하기[Redux][Normalizing State Shape][프론트엔드 상태관리] https://redux.js.org/usage/structuring-reducers/normalizing-state-shape Normalizing State Shape | Redux Structuring Reducers > Normalizing State Shape: Why and how to store data items for lookup based on ID redux.js.org 많은 애플리케이션은 중첩되거나 관계형인 데이터를 처리합니다. 블로그 편집자는 많은 게시물을 가질 수 있고, 각 게시물에는 많은 댓글이 있을 수 있으며, 게시물과 댓글은 모두 유저가 작성합니다. 애플리케이션 데이터는 다음과 같을 수 있습니다. const blogPosts = [ { id: 'post1', author: .. 이전 1 다음