SEOVI
@shimyuseob4173
Reviews Written
3
Average Rating
5.0
Posts
Q&A
input.focus() ๋ถ๋ถ์์ if๋ฌธ ๋์ ์ต์ ๋์ฒด์ด๋ ์ฌ์ฉ
๋ต ๋ต๋ณ ๊ฐ์ฌ๋๋ฆฝ๋๋ค!!
- 1
- 2
- 245
Q&A
ํค๊ฐ์ ์ฌ์ฉํ๋ค๊ณ ๋ง์ํ์ จ๋๋ฐ ๊ทธ๋ผ ๋ฐธ๋ฅ๊ฐ์ ์ด๋ค๋ฐฉ์์ผ๋ก ์ฌ์ฉํ ์ ์์๊น์?
์น์ ํ ๋ต๋ณ ๊ฐ์ฌ๋๋ฆฝ๋๋ค. ์ฌ๋ฌ๋ฒ ๋ฐ๋ณตํด์ ํ์ตํด๋ด์ผ ํ ๊ฒ ๊ฐ์์ ๐
- 4
- 6
- 687
Q&A
ํค๊ฐ์ ์ฌ์ฉํ๋ค๊ณ ๋ง์ํ์ จ๋๋ฐ ๊ทธ๋ผ ๋ฐธ๋ฅ๊ฐ์ ์ด๋ค๋ฐฉ์์ผ๋ก ์ฌ์ฉํ ์ ์์๊น์?
์ ๋ itemOption์ ๊ฐ์ฒด์ฒ๋ผ name:'capt' ์๋๋ฉด price:100์ด๋ฐ์์ผ๋ก ์ฌ์ฉํ ์ค ์์๋๋ฐ ๊ทธ๊ฒ ์๋๊ฒ๊ฐ์์ ์ง๋ฌธ๋๋ ธ์ต๋๋ค!
- 4
- 6
- 687
Q&A
์๋ฌ๊ฐ ์๋๋ฐ ์ autoCompletes๊ฐ ์ ์ฉ์ด ์๋ ๊น์?
์น์ ํ ๋ต๋ณ ๊ฐ์ฌํฉ๋๋ค. ๐ ์ดํด๊ฐ ์ ์๋ผ์ ์ฌ๋ฌ๋ฒ ๋ฐ๋ณตํด๋ด์ผํ ๊ฒ๊ฐ์์
- 0
- 6
- 408
Q&A
์๋ฌ๊ฐ ์๋๋ฐ ์ autoCompletes๊ฐ ์ ์ฉ์ด ์๋ ๊น์?
SearchInput์์ dispatch์ "keyword"์ value๋ฅผ ๊ฐ์ด ๋ฃ์ด์ฃผ๋ ๋ถ๋ถ์ด๋ ๊ทธ ์๋ fetchAutoComplete์์๋ value๋ง ๋ฃ์ด์ฃผ์๋ ์ด์ ๊ฐ ์ด๋ค๊ฑธ๊น์?? function setKeyword(value) { if (value !== keyword) { dispatch(actions.setValue("keyword", value)); dispatch(actions.fetchAutoComplete(value)); }
- 0
- 6
- 408
Q&A
์๋ฌ๊ฐ ์๋๋ฐ ์ autoCompletes๊ฐ ์ ์ฉ์ด ์๋ ๊น์?
์ ์๋ ์ ๋ง ๊ฐ์ฌํฉ๋๋ค... ์คํ๊ฐ ๋์ค์ ์๊ฐ๋ ๋ชปํ๋ค์ ํน์ ๋ค๋ฅธ ์ง๋ฌธ ํ๋ ๋ ๋๋ ค๋ ๊ด์ฐฎ์๊น์?? redux-helper์์ createReducer๋ ์ด๋์ ๋ ์๋๋ฐฉ์์ด ์ดํด๊ฐ ๊ฐ๋๋ฐ ๊ทธ ์๋ createSetValueAction์ด๋ setValueReducer๊ฐ ์ด๋ค ๋ฐฉ์์ผ๋ก ์๋ํ๋์ง ์ดํด๊ฐ ์ ์๊ฐ๋๋ค export function createSetValueAction(type) { return (key, value) => ({ type, key, value }); } export function setValueReducer(state, action) { state[action.key] = action.value; }
- 0
- 6
- 408
Q&A
์๋ฌ๊ฐ ์๋๋ฐ ์ autoCompletes๊ฐ ์ ์ฉ์ด ์๋ ๊น์?
https://drive.google.com/file/d/1B7DRr2SS6btKoPgAXVw4dGhfX5jLYJkx/view?usp=sharing ํน์๋ชฐ๋ผ์ ๋ชจ๋ ์ ์ธํ๊ณ ํ์ผ ์์ถํด์ ๊ณต์ ํด๋๋ ธ์ต๋๋ค ใ ใ ใ ๊ฐ์ฌํฉ๋๋ค...
- 0
- 6
- 408
Q&A
Encountered two children with the same key ์๋ฌ
๋ต๋ณ ๊ฐ์ฌ๋๋ฆฝ๋๋ค.
- 0
- 2
- 8.1K




