Skip to content

Conversation

@gibeom0218
Copy link
Member

@gibeom0218 gibeom0218 commented Jan 25, 2025

📄 검색페이지 searchParams 사용으로 변경

📝 변경 사항 요약

  • 기존 zustand로 상태관리하던 것을 useSearchparams 로 변경

📌 관련 이슈

🔍 변경 사항 상세 설명

상태를 URL과 동기화해 새로고침 및 공유에 강함.
검색, 필터링, 페이지네이션 등 URL 기반 기능 구현에 최적화 등의 장점이 있어

검색 페이지에서의 변경이 필요하다고 생각하였습니다.

✅ 확인 사항

  • 코드가 정상적으로 컴파일되는지 확인했습니다.
  • 관련 테스트를 작성하고 모두 통과했는지 확인했습니다.
  • 코드 스타일 가이드에 맞게 작성했습니다.

📸 스크린샷 (선택 사항)

검색 페이지 searchParams

기타 참고 사항

추가로 공유하고 싶은 내용이나 참고 자료가 있다면 여기에 작성해주세요.

@gibeom0218 gibeom0218 added the 🔨 Refactor 코드 리팩토링 label Jan 25, 2025
@gibeom0218 gibeom0218 self-assigned this Jan 25, 2025
@gibeom0218 gibeom0218 linked an issue Jan 25, 2025 that may be closed by this pull request
2 tasks
@github-actions
Copy link

github-actions bot commented Jan 25, 2025

💄 Storybook: https://674fb103b6bfad504c6f0da9-ewxqlbjnny.chromatic.com/
🕖 Update: 2025년 01월 25일 22시 35분 31초

@github-actions
Copy link

🎉 구현한 기능 Preview: https://front-8w7goiem9-beoms-projects-53e61468.vercel.app

Copy link
Member

@ejinn1 ejinn1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

굳굳굳
근데 공유해서 보이게 하려면 로그인 안되어있는 상태에서도 볼 수 있으면 좋겠네요

@gibeom0218
Copy link
Member Author

굳굳굳 근데 공유해서 보이게 하려면 로그인 안되어있는 상태에서도 볼 수 있으면 좋겠네요

아 그렇네요..음 이부분은 인가부분을 제거해야할듯??

@gibeom0218 gibeom0218 merged commit fc9322f into main Feb 2, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 Refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor] useSearchparams in search page

3 participants