React Redux 앱 만들기
# Redux + Plain JS template
npx create-react-app my-app --template redux
yarn create-react-app my-app --template redux
# Redux + TypeScript template
npx create-react-app my-app --template redux-typescript
yarn create-react-app my-app --template redux-typescript
redux
$npm install redux
$yarn add redux
react-redux
$npm install --save @types/react-redux
$yarn add @types/react-redux
redux-logger
$ npm i --save @types/redux-logger
$ yarn add @types/redux-logger
redux-toolkit
# NPM
npm install @reduxjs/toolkit
# Yarn
yarn add @reduxjs/toolkit
redux-devtools
$npm install --save-dev redux-devtools-extension
$yarn add redux-devtools-extension
'Front-End > Typescripit' 카테고리의 다른 글
Create React App TypeScript (0) | 2022.04.21 |
---|