그동안 했던 작업 정리... 상세한 정리는 나중에... ㅠㅠ
타입스크립트에서 jwt decoder 사용하기
https://stackoverflow.com/questions/61199530/typescript-error-with-accessing-jwt-decode-object
Typescript error with accessing jwt-decode object
I have installed @types/jwt-decode and I'm having trouble getting this to work. import jwtDecode from 'jwt-decode' ... let decodedToken = jwtDecode(token); console.log(decodedToken) // this works...
stackoverflow.com
프론트에서 소셜 로그인 처리하기
🍪 프론트에서 안전하게 로그인 처리하기 (ft. React)
localStorage냐 쿠키냐 그것이 문제로다
velog.io
cors error 임시방편으로 해결하기
크롬 브라우저 cors disable/enable
window 대상인풋창에 --disable-web-security --user-data-dir="C:\chrome" 윈도우도 새창이 뜨면서 즐겨찾기가 초기화 될것이다. 원복은 반대로 추가해주면 될것이다. --profile-directory=Default --enable-web-security mac
ducks228.tistory.com
recoil 200% 활용하기
[Recoil] Recoil 200% 활용하기
아무리 구글링해도 Recoil 기본 예제밖에 나오지 않아 직접 작성한 Recoil 200% 활용법 🙃
velog.io
디버깅
Warning: Cannot update a component (BrowserRouter) while rendering a different component (PinNumberInputPage). To locate the bad setState() call inside PinNumberInputPage
https://github.com/facebook/react/issues/18178
Bug: too hard to fix "Cannot update a component from inside the function body of a different component." · Issue #18178 · face
Note: React 16.13.1 fixed some cases where this was overfiring. If upgrading React and ReactDOM to 16.13.1 doesn't fix the warning, read this: #18178 (comment) React version: 16.13.0 Steps To R...
github.com
'Hanghae99' 카테고리의 다른 글
| 230127 TIL 실전 프로젝트 4주차 (0) | 2023.01.27 |
|---|---|
| 220121 WIL 실전프로젝트 3주차 (0) | 2023.01.22 |
| 220117 TIL 실전프로젝트 3주차 (0) | 2023.01.18 |
| 230115 WIL 실전 프로젝트 2주차 (0) | 2023.01.15 |
| 230108 WIL 실전 프로젝트 1주차 (0) | 2023.01.08 |