hksy113
@hankh1130011
Reviews Written
4
Average Rating
5.0
Posts
Q&A
Product ๋ชจ๋ธ ์ง๋ฌธ์ ๋๋ค.
๊ฐ์ฌํฉ๋๋ค
- 1
- 2
- 283
Q&A
์ง๋ฌธ์์ต๋๋ค
CheckBox list={continents} handleFilters={filters => handleFilters(filters, 'continents')}/> ์ด๋ถ๋ถ์์ ํ์ ์ปดํฌ๋ํธ์ธ CheckBox์ props๋ก list ๋ฅผ ์ ๋ฌํด์ CheckBox ์ปดํฌ๋ํธ ์์์ props.list๋ฅผ ์ฌ์ฉํ๋๊ฑด ์ดํดํ๋๋ฐ์ handleFilters ๋ฅผ ๋๊ธฐ๋๊ฑด ์ดํด๊ฐ ์ ์๋๋ค์ list={continents} ์ด๊ณณ์์ continents๊ฐ props๋ก ๋๊ธฐ๋๊ฑฐ๋ก๋ง ์ฌ์ฉ ๋๋๋ฐ handleFilters={filters => handleFilters(filters, 'continents')} ์ฌ๊ธฐ์์๋ ํ์์ปดํฌํธ๋ํธ์์ ํด๋ฆญํ ๊ฐ์ด filters ์ ๋์ด์จ๋ค๊ณ ํ์ จ์์์? ์ ์ด๋ถ๋ถ์์๋ filters๋ฅผ ๋๊ธฐ๋๊ฒ ์๋๋ผ ๋ฐ์์ค์ฃ ? ๊ทธ๋ฆฌ๊ณ filters ๊ฐ ๋ฐ์์จ ๊ฐ์ด๋ผ ์น๋ค๋ฉด filters => ์์ ํ์ดํ๊ฐ ์๋ฏธํ๋๊ฑด ํ์์ปดํฌ๋ํธ์์ filters๋ฅผ ๋ฐ์์ค๋ฉด ํ์ดํ ๋ท ๋ถ๋ถ์ธ handleFilters(filters, 'continents') ๋ฅผ ์คํํ๊ฒ ๋ค ๋ผ๊ณ ์ดํดํ๋ฉด ๋๋์?
- 0
- 2
- 164




