10. Midterm Arrangement 중간정리

Marshall TY Yun·2023년 2월 8일
0

REACT

목록 보기
10/10

10. Midterm Arrangement (중간정리)

참고용 velog
https://velog.io/@ty-yun21/react10
참고용 github
https://github.com/ty-yoon21/react-study1
commit message : (2023.02.08) 10. Mitrem Arrangement

목표

  1. Styled Components

정리

  1. Styled Compnents (CSS in JS)
    : https://www.daleseo.com/react-styled-components/
    1.1 ThemeProvider
    : https://wonit.tistory.com/366
import { ThemeProvider } from 'styled-components';
return (
    <ThemeProvider theme={theme}>
        <div></div>
        <div></div>
    </ThemeProvider>
)
  1. propTypes
    : https://velog.io/@eunjin/React-PropTypes-%EC%93%B0%EB%8A%94-%EC%9D%B4%EC%9C%A0-%EB%B0%A9%EB%B2%95
PcLeftMenu.propTypes = {
    isActive: PropTypes.bool,
    layout: PropTypes.string,
    color: PropTypes.string,
    sidebarBackgrounds: PropTypes.string,
}
  1. Suspense, LazyComponent
    : https://www.daleseo.com/react-suspense/
    : https://velog.io/@code-bebop/dynamic-import%EC%99%80-React.lazy

Reference

0개의 댓글