Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 협업
- 기초100제
- 공부
- 파이썬
- Operating System
- Spring
- 코드업
- 일상
- 알고리즘
- react
- js to ts
- C++
- codeup
- error
- Java
- CPU 스케줄링
- web
- memory
- OS
- 리덕스장바구니
- 프로그래머스
- 스프링
- 토이프로젝트
- 타입스크립트
- Redux
- 정렬
- 자료구조
- react-redux
- 백준
- 분할메모리할당
Archives
- Today
- Total
목록장바구니수량 (1)
감자튀김 공장🍟
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/6hGh3/btq1la14v41/DNaV9t7nZeMwAcO6HKOIFK/img.png)
폴더 구조 src | |- component ||- Cart.js ||- FinalCart.js | |- pages ||-MenuList.js pages/MenuList.js import React, {useState, useEffect} from 'react'; import axios from 'axios'; import {useDispatch} from 'react-redux'; import {addCart} from '../store/actions'; function MenuList(props) { const [products, setProducts] = useState([]); const dispatch = useDispatch(); const list2 = []; useEffect(() => {..
Study/React
2021. 3. 29. 15:17