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

Axios 에러 핸들링과 컴포넌트 내 에러 핸들링에 대한 베스트 프랙티스 조사 #14

Open
SeungrokYoon opened this issue Aug 24, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@SeungrokYoon
Copy link
Contributor

서버와의 비동기 통신 과정에서 발생하는 에러를 어떻게하면 우아하게 처리할 수 있을지 함께 고민해보면 좋을 것 같습니다.

코멘트에 관련해서 찾은 외부 레퍼런스를 명시하고, 짧게 요약해주시면 감사하겠습니다.

그리고 이 중에서 가장 베스트 프랙티스를 찾아 api 코드와 호출부를 리팩토링하면 좋을 것 같습니다.

@SeungrokYoon SeungrokYoon added the documentation Improvements or additions to documentation label Aug 24, 2023
@SeungrokYoon
Copy link
Contributor Author

SeungrokYoon commented Aug 24, 2023

[조사중입니다!]
Axios 공식문서 - 에러 핸들링: https://axios-http.com/kr/docs/handling_errors

@SeungrokYoon SeungrokYoon added the question Further information is requested label Aug 24, 2023
@salmontaker
Copy link
Contributor

[React] axios 인스턴스, 그리고 모듈화
React에서 axios 모듈화 하기 🎶

axios 를 모듈화 하신분들을 여럿 찾아보았는데, 지금처럼 view단에서 에러를 핸들링 하는것이 좋아보입니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Development

No branches or pull requests

4 participants