본문 바로가기

반응형

TIL

(185)
[TIL] 2022-03-14 Facts 플래너를 작성 매일 감사 일기 쓰기 Feelings 감사 일기 1. 몸이 아프지 않음에 감사합니다. 2. 충만한 스터디를 할 수 있어서 감사합니다. 3. 스터디에서 클로저와 debounce, 커링에 대해서 이해를 심화할 수 있어서 감사합니다. 4. 할 일을 모두 끝내고 기분 좋게 쉴 수 있어서 감사합니다. 5. 오늘 먹은 바닐라 선데이가 너무 맛있었어서 감사합니다. Findings https://developeonmyown.tistory.com/328 05. 클로저와 debounce, 커링 debounce 짧은 시간 안에 동일한 이벤트가 많이 발생했을 때, 최적화를 위해서 처음이나 마지막 한 번만 처리하는 것. var debounce = function (eventName, func, wait..
[TIL] 2022-03-08 Facts df Feelings df Findings 트랜잭션 데이터베이스의 상태를 변화시키기 해서 수행하는 작업의 단위를 뜻한다 작업단위는 많은 질의어 명령문들을 사람이 정하는 기준에 따라 정하는 것을 의미한다. 출처: https://mommoo.tistory.com/62 [개발자로 홀로 서기] Future Action Plans df
[TIL] Uncaught Error: Too many re-renders. React limits the number of renders to prevent an infinite loop. Facts Uncaught Error: Too many re-renders. React limits the number of renders to prevent an infinite loop. 에러 해결 Feelings soso Findings export default function DressRoomContainer() { const dispatch = useDispatch(); const loginedUser = JSON.parse(localStorage.getItem('userInfo')).username; dispatch(setUserName(loginedUser)); const { userName } = useSelector(state => state.clothesSlice); return ( ..
[TIL] 2022-02-15 list Item의 onClick 함수 무한 루프 문제 Facts list Item의 onClick 함수 무한 루프 문제를 해결 Feelings useEffect, dispatch를 혼합해서 사용하면 아주 멋진 무한루프와 인터넷 다운을 만날 수 있다. ㅋ Findings {usersToFollow.map((user, idx) => {user} 팔로우 )} 위 처럼 하면 li가 생길때마다 onClick 함수가 실행된다. 모든 list item에 대해서 실행되는 것이다. {usersToFollow.map((user, idx) => {user} onClickFollow(idx)}> 팔로우 )} 위처럼 저렇게 해줘야 논리에 맞다. Future Action Plans 개발 마무리하기
[TIL] 2021-02-07 Facts df Feelings df Findings { item && { item.image } } 는 { item ? { item.image } : undefined } 와 똑같다. Future Action Plans df
[TIL] 2022.02.02 Facts 어제 밤 늦게 폰 하다 잠. 일어나서 목표쓰기 50번 함. Feelings 아침에 머리가 띵하고 피곤한 느낌 Findings Future Action Plans 나는 두나무 개발자가 된다.
[TIL] 2021-01-27 Reboot Reboot - 끈질기게 나를 괴롭히던 안좋은 행동양식을 타파하고, 진정 내가 원하는 삶을 살아가겠다. Facts 플래너 구매 발표 대본 짜기 Feelings Findings 무엇이 독인지. 무엇이 필요 조건인지 Future Action Plans 10시에 취침하기 운동하는 날은 11시 30분
[TIL] 2022.01.09 Facts 계획 없이 사는 중 P가 되어 가는 중 Feelings 이렇게 살다가는 뭔가 대단한 걸 해내지 못하고 어영부영 시간만 보낼 느낌 Findings 100번 쓰기 하는 게 안하는 것 보다 훨씬 낫다. ㅎㅎ Future Action Plans 목표 100번 쓰기 다시 시작하기

반응형