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.
🔥 Issues
#19
✅ What to do
📄 Description
-.Clipchamp.mp4
🤔 Considerations
-> input(checkbox)와 label을 이용하여 만들었다.
-> context 폴더에 RoomContext 파일을 만들어 따로 생성하였다.
-> children: 태그와 태그 사이의 모든 내용을 표시하기 위해 사용되는 특수한 props이다. 이를 Provider에 사용하여 라우터 내의 모든 하위 컴포넌트에 적용할 수 있도록 하였다.
🛠️ Improvements to Make
코드의 가독성이 떨어지고 지저분하여 한번 정리를 하면 좋을 것 같다.
이후 다른 페이지에서 같은 state를 사용하면 useContext를 어떻게 수정하면 좋을 지 상의 후 보완해야 할 것 같다.
👀 References
https://velog.io/@jjburi/TypeScript-useState%EC%97%90%EC%84%9C-type-%EC%A7%80%EC%A0%95
https://d0u0b.tistory.com/entry/HTML-CSS-%ED%86%A0%EA%B8%80-%EC%8A%A4%EC%9C%84%EC%B9%98-%EB%B2%84%ED%8A%BC-%EB%A7%8C%EB%93%A4%EA%B8%B0-Toggle-Checkbox
https://velog.io/@ye-ji/React%EC%97%90%EC%84%9C-Children%EC%9D%84-JS%EC%99%80-TS%EC%97%90%EC%84%9C-%EA%B0%81%EA%B0%81-%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95
https://velog.io/@ye-ji/React%EC%97%90%EC%84%9C-Children%EC%9D%84-JS%EC%99%80-TS%EC%97%90%EC%84%9C-%EA%B0%81%EA%B0%81-%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95