codestates / codestates/DDO_Jurimma
[๐ Dev-Log - Front/Back] ๊น๋ฏผ์ฌ, ๋ฐฐ์ค์, ๊ฐ์์ / 2021-09-22
- Dominant language
- JavaScript
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
# ๐ Dev Log Card
## ์ค๋์ ์ด๋ป๊ฒ ํ๋ก์ ํธ์ ๊ธฐ์ฌํ๋์?
- Redux-persist ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ ์ฉํด์ ์ํ ์ ์ง๊ฐ ํ์ํ state๋ค์ localStorage์ ์ ์ฅํ๋ค.
- ๊ธฐ์กด ๊ฐ ์ปดํฌ๋ํธ๋ค์์ ์์ฑํ `localStorage.setItem()` ์ ์ ์ฉํ ์ฝ๋๋ค์ ์ ๋ฉด ์์
- Redux ๋ฐ axios ์์
์์ ๋ฐ์ํ๋ ๊ฐ์ข
์๋ฌ๋ค ํด๊ฒฐ
- ๋ก๊ทธ์์์ ์งํํ ์ ํ์ด์ง ์ด๋์ด ์๋๋ ๊ฒ์ history.push() ๋ฅผ ํตํด ํด๊ฒฐ
## ์ค๋์ ํ๋ก์ ํธ์์ ํ๋ ์ ์ ๋ฌด์์ธ๊ฐ์?
- Redux๋ฅผ ์ ์ฉํ ์, ์คํ ์ด์ ๋ค์ด์๋ state ๋ค์ ์๋ก๊ณ ์นจํ๊ฑฐ๋ ํ์ด์ง๋ฅผ ๋๊ฐ๊ฒ ๋ ๊ฒฝ์ฐ ๋ชจ๋ ์ฌ๋ผ์ง๊ฒ ๋๋ค. ๊ทธ๋ ๊ธฐ ๋๋ฌธ์ ๋ก๊ทธ์ธ ์ํ๋ฅผ ์ ์งํ๊ธฐ๊ฐ ํ๋ค์๋ค.
- Redux-persist ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ํตํด ์์ฌ์ฐ๋ฉด์๋ ๊ฐ๋
์ฑ ์๊ฒ ๋ก๊ทธ์ธ ์ํ ์ ์ง๊ฐ ๊ฐ๋ฅํด์ก๋ค.
## ๋ด์ผ์ ํ๋ก์ ํธ์ ๊ธฐ์ฌํ๊ธฐ ์ํด ๋ฌด์์ ํด์ผ ํ๋์?
- [x] ๋จ์ axios ์์
์งํํ๊ธฐ
- [x] ๋ฌดํ ์คํฌ๋กค์ ๊ตฌํํ๊ธฐ ์ํ ๊ณต๋ถ ๋ฐ ์ ์ฉ
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.