useReducer()
in React
공부하는 이유
useReducer()
in React
공부하는 이유
tsx 파일명을 바꾸거나 하면 기존의 캐시 때문에 위의 에러 메세지가 뜨며 오류를 내뿜는 경우가 있다. 이럴 땐 캐시를 날려주면 된다.
React hook을 조건부 호출하는 경우, react 내부에 있는 hook tracking system이 정확하게 동작하지 않을 수 있다고 한다. 이에 따라 발생하는 에러이다.
In React, it’s conventional to use onSomething names for props which represent events and handleSomething for the function definitions which handle those ...