현장에서 바로 써먹는 리액트 with 타입스크립트
초판 1쇄 발행(2023.06.27)입니다.
63쪽
const Container = Styled.div`
-> const Container = styled.div`
const Container = Styled.img`
-> const Container = styled.img`
69쪽
animation: ${spin} infinite 20s linear;
-> animation: ${spinAnimation} infinite 20s linear;
70쪽
const AppLink = Styled.a`
-> const AppLink = styled.a`
74쪽 Prettier 설정
module.exports = {
singleQuote: true,
trailingComma: "all",
printWidth: 100
}
{
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100
}
81쪽
module.exports = {
"settings": {
"react": {
"version": "detect",
},
},
"env": {
...
},
...
"rules": {
"react/react-in-jsx-scope": "off",
},
}
현장에서 바로 써먹는 리액트 with 타입스크립트
초판 1쇄 발행(2023.06.27)입니다.
63쪽
const Container = Styled.div`
-> const Container = styled.div`
const Container = Styled.img`
-> const Container = styled.img`
69쪽
animation: ${spin} infinite 20s linear;
-> animation: ${spinAnimation} infinite 20s linear;
70쪽
const AppLink = Styled.a`
-> const AppLink = styled.a`
74쪽 Prettier 설정
{ "singleQuote": true, "trailingComma": "all", "printWidth": 100 }81쪽