Replies: 2 comments 2 replies
-
갠적으로는 isSkipPage를 optional하게 받아서 사용하면 좋을 것 같습니다. 이유는 저번에 말한것 처럼 페이지 리스트를 진짜 전부 보여주고 싶은 경우를 가정 했을때이기 때문입니다. 상황을 가정하면 1 부터 7까지리를 보여주고 싶은데 저절로 스킵 되는걸 조절 할 수 가 없잖아요! 기본 설정을 전달 받은 데이터를 계산하여 판단하고 스킵하고, 만약 SkipPage가 false 값이 왔을때는 전부 보여준다는 어떠실까요? |
Beta Was this translation helpful? Give feedback.
2 replies
-
isSkipPage 대신 skipNumber를 받아서, 이 수보다 보여줘야 될 페이지가 많으면 스킵 로직이 실행되는 방향으로 결정 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
주제: isSkipPage에 대한 논의
현 상황
isSkipPage:boolean
을 필수 props로 받음...
이 추가의견 제시
개선시 로직
...
가 추가됨(스킵 기능 활성화)Beta Was this translation helpful? Give feedback.
All reactions