profile
Hi!๐Ÿ˜ I'm Soongle. Welcome to my Velog!!!

[redux] reducer 2๊ฐœ ์ด์ƒ ๋งŒ๋“ค๊ธฐ

combineReducers๋ฅผ ์ด์šฉํ•˜์—ฌ ์—ฌ๋Ÿฌ๊ฐœ์˜ ๋ฆฌ๋“€์„œ๋ฅผ ํ•ฉ์น  ์ˆ˜ ์žˆ๋‹ค!

2022๋…„ 6์›” 27์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[Redux] Do i need to use useSelector() again after dispatch?

๊ทธ๋ฆฌ๊ณ  ๋“œ๋Š” ์˜๋ฌธ... ๐Ÿค” 'disfatch๋ฅผ ํ•˜๋ฉด...useSelector๋กœ ๋‹ค์‹œ state๋ฅผ ๊ฐ€์ ธ์™€์•ผํ•˜๋‚˜..?'

2022๋…„ 6์›” 14์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[Redux-persist] ์ƒˆ๋กœ๊ณ ์นจํ•ด๋„ store๊ฐ’์ด ๋‚จ์•„์žˆ๊ฒŒ ๋„์™€์ฃผ๋Š” redux-persist (with redux-toolkit)

jwtํ† ํฐ์„ redux๋ฅผ ์‚ฌ์šฉํ•ด์„œ store์— ์ €์žฅํ•˜์˜€๋”๋‹ˆ ์ƒˆ๋กœ๊ณ ์นจ์„ ํ•˜๋ฉด store์— ์ €์žฅ๋œ ๋ชจ๋“  ๊ฐ’์ด ์‚ฌ๋ผ์ง„๋‹ค๋Š” ๋ฌธ์ œ์ ์ด ์žˆ์—ˆ๋‹ค.

2022๋…„ 6์›” 7์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[Redux-toolkit] configureStore, createSlice

redux๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด์„œreducers ๋””๋ ‰ํ† ๋ฆฌ์—๋Š” ๋งŽ์€ ํŒŒ์ผ์„ ์ƒ์„ฑํ•ด๋’€์—ˆ๋‹ค..action๋งŒ ์žˆ๋Š” types.jsreducer๊ฐ€ ์žˆ๋Š” reducer.jsreducer๋ฅผ combineํ•  index.js๋“ฑ๋“ฑ..

2022๋…„ 6์›” 6์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[TIL] Redux non-serializable value was detected in an action, in the path: `register`. Value: ฦ’ register(key) {

redux ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ•˜๋Š” ์ค‘ ์ œ๋ชฉ๊ณผ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค..

2022๋…„ 6์›” 6์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[Redux] ์‹œ์ž‘ํ•˜๊ธฐ!

react ์ปดํฌ๋„ŒํŠธ ๊ฐ„ ์ž์›์„ ์‰ฝ๊ฒŒ ๊ณต์œ ํ•  ๋ฐฉ๋ฒ•์„ ์ฐพ๋‹ค๊ฐ€ redux๋ฅผ ์‚ฌ์šฉํ•˜๊ฒŒ ๋๋‹ค

2022๋…„ 5์›” 31์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท