개발공부 중 슬럼프

맨큐의 경제학9판·2023년 5월 5일

자바스크립트의 비동기 처리에 대해서 공부하다가 현타가 왔다. 유데미 강의, 벨로퍼트 강의, 코딩앙마와 같은 모든 강의자료를 봐도 너무 어렵다.

비동기처리를 공부하게된 계기는 파이어베이스의 auth 기능에서 로그인 로그아웃 기능을 구현하는데 너어어어어어어ㅓ어어엉무 어렵다. 모르는 부분 찾아가면서 공부하는것도 한계가 있는것 같다. 뭔가 베이스가 없어서 못하는 기분이다.

signInWithPopup(auth, provider)
    .then((result) => {
      // This gives you a Google Access Token. You can use it to access the Google API.
      const credential = GoogleAuthProvider.credentialFromResult(result);
      const token = credential.accessToken;
      // The signed-in user info.
      const user = result.user;
      // IdP data available using getAdditionalUserInfo(result)
      // ...
    })
    .catch((error) => {
      // Handle Errors here.
      const errorCode = error.code;
      const errorMessage = error.message;
      // The email of the user's account used.
      const email = error.customData.email;
      // The AuthCredential type that was used.
      const credential = GoogleAuthProvider.credentialFromError(error);
      // ...
    });

이 코드가 이해가 안돼서 보기 시작했다. 근데 좀 지치는것 같다.

내가 그렇지 뭐 뭐 하나 열심히하는것도 없고 ㅋㅋ 나만 뭔가 바보같은 기분이 든다 다른 사람들도 이런 기분을 느낀적이 있었을까?

profile
맨큐의 개발일지

0개의 댓글