목차
[리액트문서보기] React로 사고하기(구조 나누기, state위치 선정 등)
리액트 사고하기에서는 한가지 예제를 가지고 쭉~ 설명을 합니다. 이미 JSON API와 디자이너의 목업이 있다고 가정해 보겠습니다. [ { category: "Fruits", price: "$1", stocked: true, name: "Apple" }, { category: "Fruits", price: "$1", stocked: true, name: "Dragonfruit" }, { category: "Fruits", price: "$2", stocked: false, name: "Passionfruit" }, { category: "Vegetables", price: "$2", stocked: true, name: "Spinach" }, { category: "Vegetables", price: "..
2024. 3. 18.