Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: if문을 객체 방식으로 수정 #167

Merged
merged 2 commits into from
Jan 18, 2024
Merged

Conversation

sebanimm
Copy link
Contributor

작업사항

기존에 PostEditPage , PostWritePage 에서 if문이 쓰이던 부분을 객체 형식으로 변경했습니다.

변경한 점

스크린샷

@sebanimm
Copy link
Contributor Author

sebanimm commented Jan 14, 2024

사실 이 부분은 무조건 좋은 방법이라기 보단 새로운 방향성을 제시하는 느낌이 강하다고 생각합니다. 이 부분은 우빈님의 생각이 더 궁금하네요! 자유로운 의견 부탁드립니다~!

Copy link
Member

@Ubinquitous Ubinquitous left a comment

Choose a reason for hiding this comment

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

소중한 PR 감사합니다! 저도 개발 당시에는 함수 내에서 컴포넌트를 generate하는 방식이
와닿지는 않았는데, 여러가지 아티클들을 보고 공부를 더 해보니 현업에서도 이러한 방식을
많이 사용한다는 것을 알았습니다. 바꿔야겠다 생각하고있었는데 정말 감사합니다!!

@Ubinquitous Ubinquitous merged commit 7495c72 into Team-INSERT:main Jan 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants