[React 2부] 고급 주제와 훅
이제 리액트(React)가 진짜 ‘보이기’ 시작합니다. 고급 개념과 훅(Hooks) 가장 쉽고 정확하게 배워보세요.

- 미해결
잘못된 useEffect 사용?
useEffect를 통해 setErros를 호출해서 errors 상태를 변경하고 있습니다. 상태를 변경하는 건 부수효과가 아니니까 useEffect에서
javascriptreact웹앱React-Contextreact-hooksdev.mingyo
・
20일 전
1
49
2
- 미해결
useEffect 의존성 질문
부수 효과로 popstate event listener를 등록하는 부분에서useEffect의 의존성 배열에 path값을 넣어주셨는데, 안 넣는게 맞는 거 아닌가요
javascriptreact웹앱React-Contextreact-hooksdev.mingyo
・
21일 전
1
45
2
- 미해결
orderableProductItem 에 관하여...
강사님 안녕하세요 강의 잘 듣고 있습니다.좋은 강의 감사합니다.질문이 하나 있습니다.<p styl
javascriptreact웹앱React-Contextreact-hooksdev.mingyo
・
한 달 전
0
42
2
- 미해결
강의 자료, 블로그, 깃 주소
1부 수업에서는 따로 남겨주셨던 것 같은데, 2부 수업에는 따로 없나요?
javascriptreact웹앱React-Contextreact-hooksdev.mingyo
・
한 달 전
0
51
1
- 미해결
React 훅 구현 원리와 실무 패턴 관련 질문 (useState, useEffect 순서 및 핸들러 구조)
안녕하세요, 강의에서 훅(useState, useEffect) 사용 규칙과 내부 동작 원리를 공부하다가 궁금한 점이 있어 질문드립니다.<p style="text-al
javascriptreact웹앱React-Contextreact-hooksJinhee Lee
・
4달 전
1
93
2
- 미해결
pushState로 주소를 바꾸면 렌더링이 안 되는 이유가 궁금합니다.
pushState로 경로를 바꿀 때는 렌더링이 다시 일어나지 않는데,popstate 이벤트에서는 왜 렌더링이 필요한 건가요
javascriptreact웹앱React-Contextreact-hookstheblessedcity
・
5달 전
1
75
2
- 미해결
FormControl 컴포넌트 사용시 htmlFor prop 값 넘길 때 중괄호 이유
안녕하세요, 강의 잘 보고 있습니다 😀FormControl 컴포넌트
reactReact-Contextreact-hooksreact-routerreact-componentmspark
・
일 년 전
1
119
1
- 미해결
dispatch 함수도 리렌더링 유발하지 않나요?
안녕하세요 선생님 const nextState = formReducer(state, {type : "VALIDATE", validate })로 nextState를 정의하셨는데 애초에
reactReact-Contextreact-hooksreact-routerreact-component이재은
・
1
197
2
- 해결
ProductItem에서 onClick = {onClick}을 달지 않아도 되는 이유
안녕하세요 강사님 수업 잘 듣고 있습니다. OrderableProductItem.jsx에서 컨텍스트의 컨슈머 안에 렌더 프롭을 children으로 만들고changePath를 이용해서 주문하기 버튼을 누르
reactReact-Contextreact-hooksreact-routerreact-component이재은
・
1
153
2
- 해결
replaceState를 쓰지 않는 대안
안녕하세요 강사님 pushState를 작성하고 popState를 쓰는 부분에 있어서 에러가 발생했는데 이는 replaceState를 안써서 초기 상태에 대한 정보가 없어서 그렇다고 이해했습니다.
reactReact-Contextreact-hooksreact-routerreact-component이재은
・
1
188
2
- 해결
setValue 메서드를 바인딩 해야 하는 이유
안녕하세요:) 수업 잘 듣고 있습니다.2.1.4 공급자와 소비자 강의 中 7:04에서 this.setValue = this.setValue.bind(this)를 작성하셨는데 리액트에서의 바인딩이란 자식 컴
reactReact-Contextreact-hooksreact-routerreact-component이재은
・
1
160
2
- 해결
3.1.3 14:00 정도부터 영상이 조금 이상합니다...!!
제목그대로입니다...!!교안내용을 토대로 이해를해도 될것같지만, 전파차원에서 글 남깁니다
jj4783
・
1
144
2
- 해결
MyReact를 IIFE(즉시실행함수)로 설계하신 이유
제목그대로, MyReact를 IIFE(즉시실행함수)로 설계하신 이유가 무엇일까요???이걸 끌어다 쓰는 곳에서MyReact.creacteContext()</pre
reactReact-Contextreact-hooksreact-routerreact-componentjj4783
・
0
199
2
- 해결
[4.4장 메모이제이션 훅] 4.4.3 memo 참조 비교
안녕하세요. 강사님! 학습 중에 궁금한 점이 생겼는데, 제가 이해하고 있는 내용이 맞는지 궁금해 질문 드립니다!const obj1 = { a: 1 }; const obj2 = { a: 1 }; const obj3 = o
reactReact-Contextreact-hooksreact-routerreact-component고지민
・
0
124
1
- 미해결
useRef 관련하여 질문드립니다
MyReact.useRef관련하여 질문드립니다const ref2 = MyReact.useRef(); 이렇게 사용하면input태그에 접근할 수 있는데 정확히 어떤 원리로 접근 가능한건가요??
reactReact-Contextreact-hooksreact-routerreact-componentccccssung
・
0
147
2
- 미해결
렌더 프롭 관련하여 질문드립니다
컨텍스르를 설계하실 때<img src="https://cdn.inflearn.com/public/files/posts/97f5d11d-2c6d-4703-b770-37d62dbbecfc/a42da862-8728-41e1-8073-7e87b3143861.PNG
reactReact-Contextreact-hooksreact-routerreact-componentccccssung
・
0
178
2
- 미해결
[1.2장 상품목록 화면] 1.2.3 Button ...rest 관련 질문 드립니다.
안녕하세요. 아래 질문에 대한 답글을 보고 …rest에 대해 이해를 했는데요.<a target="_blank" rel="noopener noreferrer nofollow" href="https://www.inflea
reactReact-Contextreact-hooksreact-routerreact-component현지원
・
1
392
2
- 미해결
[4.4장 메모이제이션 훅] 4.4.4 useCallback curried function에 관한 질문입니다.
안녕하세요 선생님 질문이 2개 있습니다. const handleClick1 = MyReact.useMemo((postId) => { console.log("handleClick", postId);
reactReact-Contextreact-hooksreact-routerreact-componentdohyun_lim
・
1
309
2
- 해결
[4.4장 메모이제이션 훅] 4.4.2 useMemo 에서 every 함수에 관한 질문입니다.
안녕하세요 선생님 every 배열을 비교하는 방법이 궁금해서 로그를 찍어보았습니다.// export default App; import MyReact from "./lib/MyReact"; import React from "react";
reactReact-Contextreact-hooksreact-routerreact-componentdohyun_lim
・
1
347
2
- 미해결
[4.3장 리듀서 훅] 4.3.7 활용 MyForm(풀이) 오타 제보 및 질문이 있습니다.
안녕하세요 선생님 코드에 오타가 있습니다.const formReducer = (state, action) => { if (action.type === "SET_VALUES") { console.log("SET_VALUES
reactReact-Contextreact-hooksreact-routerreact-componentdohyun_lim
・
1
272
2






