Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
개요
input에 텍스트를 입력하면 검색 기능을 통해 아래에 선택가능한 문제 항목이 출력됩니다!

주요 구현 사항
1. 해설 목록 관리를 위한
solutionListState전역상태 추가해당 전역 상태는 로컬스토리지에 관리됩니다.
2.
useFetchsolutionList훅 로직해당 훅은
src/hooks/solutionList에 있으며 로직은00-해답-예시.js를 제외한 해설들에서name, level만 빼내어 solutionList에 저장한다. (더 많은 데이터가 필요해지면 이곳에서 값을 추가하면 될 것 입니다.)입니다.
3. QuestionInputAndList 컴포넌트 화
@chaerin-dev 이 부분 중점적으로 봐주세요! 우선 로직은
handleQuestionNameInput가 실행되고, solutionList 를 정규표현식(한글검색)을 통해 filtering 한 questionList를 수정한다.QuestionBtn들은data-value로name을 가지며, 클릭 시questionName상태를 해당name으로 변화시킨다.입니다.
해당 컴포넌트에는
onQuestionNameChange라는 props 가 있으며, 이 를 통해 페이지에서 컴포넌트의questionName값을 받아올 수 있습니다.사용예시
해결해야할 문제