리액트 초기설정 (1) 썸네일형 리스트형 [React.js] Typescript로 초기 셋팅 타입스크립트로 코드를 작성하면 오류사항이 즉각 보여 개발할 때 좀더 꼼꼼히 작업할 수 있는 이점이 있다. 확장자는 .tsx이며 Typescript로 React를 셋팅 하는 법을 기록하고자 한다. 셋팅 버전 참고 (참고 : react17 과 react-router-dom5 | react18과 react-router-dom6) "dependencies": { "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "@types/jest": "^27.5.2", "@types/node": "^16.18.32", "@types/react": "^18.2.7".. 이전 1 다음