세팅/오류 Tips

1.[Tips/Github] Github Pages(깃허브 페이지)로 배포하기(gh-pages)

post-thumbnail

2.[Error/React] Invalid Hook Call Warning (유효하지 않은 Hook 요청)

post-thumbnail

3.[Error/React] Module not found: Error: You attempted to import ...

post-thumbnail

4.[Error/React] export 'Join' (imported as 'Join') was not found in './routes/Join.js' (possible exports: default) (컴파일 에러)

post-thumbnail

5.[Error/React] useRoutes() may be used only in the context of a <Router> component. : <BrowserRouter>추가하기

post-thumbnail

6.[Error/React] img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text : 이미지 태그에 alt 속성 추가하기

post-thumbnail

7.[Tips/React] React 절대경로 설정하기

post-thumbnail

8.[Error/Nodejs] NPM (Node.js Package Manager) feat. npm Error: Class extends value undefined is not a constructor or null (정의되지 않은 클래스 확장 값이 생성자 또는 null이 아님)

post-thumbnail

9.[Error/TypeScript] TS2322: Type 'Dispatch<SetStateAction<boolean>>' is not assignable to type 'boolean'. (setState는 'boolean'타입이 아님, React+TypeScript에서 setState props 전달하기)

post-thumbnail

10.[Error/TypeScript, Redux] useSelector.js:76 Selector unknown returned the root state when called. This can lead to unnecessary rerenders. (불필요한 렌더링 제거하기. useSelector 범위지정)

post-thumbnail

11.[Error/TypeScript, Redux] Warning: Cannot update a component (`A`) while rendering a different component (`B`). To locate the bad setState() call inside `B`, follow... (dispatch 사용 시 useEffect 사용하기)

post-thumbnail