React)`"` can be escaped with `"`, `“`, `"`, `”`. react/no-unescaped-entities react/no-unescaped-entities 에러
2022. 10. 20. 00:12
Frontend/React & React.Native &Next.js
"" 대신에 ""와(과) 일치하는 검색결과가 없습니다. 이렇게 해야한다
TypeScript) 간단 경로(path) 설정
2022. 10. 19. 19:49
Frontend/React & React.Native &Next.js
tsConfig.json { "compilerOptions": { "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", "incremental": true, "baseUrl":".", "paths":{..
NextJS) 로그인 유무 확인 기능, push와 replace 차이
2022. 10. 5. 23:01
Frontend/React & React.Native &Next.js
로그인 유무 확인 기능 enter를 쓰면 histroy에 남아 뒤로가기하면 그전 페이지로 이동한다. histroy에 남기지 않기 위해서는 replace 로 해야한다.
ReactJS) 모바일웹 및 웹페이지 가운데 고정시키기
2022. 5. 3. 21:13
Frontend/React & React.Native &Next.js
Container 를 아래처럼 max-width와 margin을 주면 된다 const Container = styled.div` padding: 0px 20px; max-width:480px; margin:0 auto; `;