[TIL]21.08.22

๋ฐ•์ฃผํ™ยท2021๋…„ 8์›” 21์ผ
0

Today I Learned

๋ชฉ๋ก ๋ณด๊ธฐ
54/104

๐Ÿ‘จโ€๐Ÿ’ป ์˜ค๋Š˜ ๊ณต๋ถ€ํ•œ ๊ฒƒ

์ƒํ™œ์ฝ”๋”ฉ ๋ฆฌ์•กํŠธ ๋ฆฌ๋•์Šค ๊ฐ•์ขŒ๋ฅผ ๋“ฃ๊ณ  ๋‚œ ํ›„ ๋‚ด์šฉ๋“ค์„ ์ •๋ฆฌํ•ด ๊นƒํ—ˆ๋ธŒ์— ์ž‘์„ฑํ•ด๋ณด์•˜๋‹ค.

๋‚ด์ผ์€ connect์™€ mapStateToProps, mapDispatchToProps๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์˜ˆ์ œ๋Œ€์‹ ์—
useEffect์™€ useSelector์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ฆฌ์•กํŠธ ๋ฆฌ๋•์Šค ์‚ฌ์šฉํ•˜๋Š” ์˜ˆ์ œ๋ฅผ ๊ณต๋ถ€ํ•ด์„œ ์ •๋ฆฌํ•œ ๋‹ค์Œ,
๋ฐ”๋กœ ๋ฆฌ์•กํŠธ ๋ฆฌ๋•์Šค์‚ฌ์šฉํ•ด์„œ ์„œ๋ฒ„๊นŒ์ง€ ๊ตฌํ˜„ํ•ด์„œ ๊ฒŒ์‹œํŒ์„ ํ’€์Šคํƒ์œผ๋กœ ๋งŒ๋“ค์–ด๋ด์•ผ๊ฒ ๋‹ค.



https://github.com/bejeju/TIL/blob/master/Redux/Redux-toy-project.md



profile
๊ณ ํ†ต์—†๋Š” ์„ฑ์žฅ์€ ์—†๋‹ค๊ณ  ํ•  ์ˆ˜ ์žˆ๊ฒ ๋‹ค....

0๊ฐœ์˜ ๋Œ“๊ธ€