React/React 라이브러리
-
리액트 라이브러리 및 프로젝트 설치방법(계속 수정중)React/React 라이브러리 2022. 12. 20. 22:48
1. 리액트 프로젝트 생성 yarn create react-app 만들폴더명 2. styled-components 설치 및 import yarn add styled-components import styled from 'styled-components' 3. Redux 설치 yarn add redux react-redux 적용 방법은 링크 참고 https://my-engineering-blog.tistory.com/49 Redux(1)-설치 및 counter app 만들기 Redux 상태관리 라이브러리 전역상태관리 이전에 배운대로라면 props를 통해서 부모->자식 에게로만 정보를 전달 할 수 있었다. 그 한계 때문에 여러 문제가 생기기 때문에 Redux라는 라이브러리를 my-engineering-blo..