데이터 구조는 어떻게 들어오며, 이를 어떻게 가공해서, 어떻게 분리해서 탭으로 나눌 수 있을까? 차트와 차트설명 부분만 생각해도 머리가 아픈데, 탭기능까지 구현하려니 머리가 아파왔다. 주어진 데이터는 아래와 같았다.
1차 프로젝트가 끝난게 엊그제 같은데 벌써 2차 프로젝트의 1차 스프린트가 끝이 났다... 1차 프로젝트를 하며 막 클래스형 컴포넌트에 익숙해졌다고 생각했는데 2차로 오면서 함수형으로 바꾸는 것에 익숙해지는데에 시간이 조금 걸린 것 같다.하여간 거두절미하고 오늘은 지금
미루고 미루던 페이지네이션 지난 1차 프로젝트(닥터 모짜)에서 시간의 제약(그리고 능력의 제약)으로 구현하지 못했던 페이지네이션 기능을 이번에는 꼭 구현하리라 생각했다. 그런데 예상대로 페이지네이션 구현은 쉽지 않았다...🙈 일단 배열로 받은 페이지에 쿼리스트링으로