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

20250205/Login-Loading-UI-with-Nextjs/ 심정아 기술블로그 제출 #128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joanShim
Copy link

@joanShim joanShim commented Feb 5, 2025

No description provided.

Copy link

@hjh010501 hjh010501 left a comment

Choose a reason for hiding this comment

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

안녕하세요 정아님! 글 잘 읽었습니다 :)
Loading UI 를 바탕으로 작성하다보니 내용이 빠르게 끝나서 아쉬웠던 것 같습니다.
다른 방향으로 한번 (Form Validation + UI) 작성을 해보시는것도 고려하시면 좋을 것 같아요!

@@ -0,0 +1,110 @@
---
layout: post
title: "Next.js 로그인 로딩 ui를 만들어보자 (useState, react-hook-form, server action)"

Choose a reason for hiding this comment

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

로딩 UI 랑 동시에 Form 에러 핸들링 부분도 포함해서 보여주시는건 어떠실지요?
로딩은 워낙 콘텐츠 내용이 적기도 하고, 에러 핸들링을 하는 부분 (zod 로 데이터 체크 / 로그인 실패 시 어떻게 할지 등등) 도 추가하면 더 양질의 내용을 추가하고, "유저경험" 이라는 관점으로 더 글을 확장시켜 볼 수 있을 것 같습니다.

}
```

### 3. server action과 useFormStatus

Choose a reason for hiding this comment

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

3번이랑 2번의 차이를 3번을 종결할 때 적어주시는 것도 좋을 것 같고, 2번의 장/단점이 있어야 3번이 조금 더 설득력 있을 것 같습니다!

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