Skip to content

jeonghwan-kim/lecture-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

97 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

"[๋ฆฌ์•กํŠธ 1๋ถ€] ๋งŒ๋“ค๋ฉด์„œ ํ•™์Šตํ•˜๋Š” ๋ฆฌ์•กํŠธ" ์ˆ˜์—… ์ž๋ฃŒ์ž…๋‹ˆ๋‹ค.

๋‚ด์šฉ

๋ฆฌ์•กํŠธ์˜ ํ•ต์‹ฌ์ด ๋˜๋Š” ์ง„์งœ ๊ธฐ๋ณธ ๊ฐœ๋…. ์ปดํฌ๋„ŒํŠธ, ์ƒํƒœ, ์ด๋ฒคํŠธ ์ฒ˜๋ฆฌ, ์กฐ๊ฑด๋ถ€/๋ฆฌ์ŠคํŠธ ๋ Œ๋”๋ง, ์ปดํฌ๋„ŒํŠธ ์ƒ๋ช…์ฃผ๊ธฐ ๋“ฑ ๋ฆฌ์•กํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฐœ๋ฐœ์ž๋ผ๋ฉด ๋ฐ˜๋“œ์‹œ ์•Œ๊ณ  ๋„˜์–ด๊ฐ€์•ผํ•˜๋Š” ๊ฐœ๋…์„ ๋ฐฐ์›๋‹ˆ๋‹ค. ์ปดํฌ๋„ŒํŠธ ์—ญํ•  ๋ถ„๋‹ด, ์ƒํƒœ ๋Œ์–ด์˜ฌ๋ฆฌ๊ธฐ ์ปดํฌ๋„ŒํŠธ ์žฌ์‚ฌ์šฉ, ์กฐํ•ฉํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ํ†ตํ•ด ๋ฆฌ์•กํŠธ ์ปดํฌ๋„ŒํŠธ ์„ค๊ณ„ ๋ฐฉ๋ฒ•์„ ์ค€๋น„ํ–ˆ์Šต๋‹ˆ๋‹ค.

๊ฐ•์˜ ๋…ธํŠธ

ํด๋” ๊ตฌ์„ฑ

์ˆ˜์—… ์‹ค์Šต์„ ์œ„ํ•œ ํด๋”๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์ด ๊ตฌ์„ฑํ–ˆ์Šต๋‹ˆ๋‹ค.

  • 1-vanilla: 1ํŽธ์—์„œ ๋งŒ๋“  ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜(์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ๋งŒ ์‚ฌ์šฉ)
  • 2-react: 2ํŽธ์—์„œ ๋‹ค์‹œ ๋งŒ๋“  ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜(๋ฆฌ์•กํŠธ ์‚ฌ์šฉ)
  • 3-component: 3ํŽธ์—์„œ ๋‹ค์‹œ ๋งŒ๋“  ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜(๋ฆฌ์•กํŠธ ์ปดํฌ๋„ŒํŠธ ์‚ฌ์šฉ)

๋ธŒ๋žœ์น˜

๊ฐ•์˜ ์ค‘ ์‹ค์Šต์€ ์•„๋ž˜ ๋ธŒ๋žœ์น˜ ์ค‘ ํ•˜๋‚˜๋กœ ์ด๋™ํ•˜์—ฌ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค. ๋ธŒ๋žœ์น˜๋ฅผ ์ด์šฉํ•˜๋ฉด ๊ฐ ์‹ค์Šต์—์„œ ํ’€์–ด์•ผํ•˜๋Š” ๋ฌธ์ œ๋ฅผ ์ค€๋น„๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

1ํŽธ ์ค€๋น„ํŽธ

  • ready/scaffoding: ์ˆœ์ˆ˜JS 1 - ํด๋” ๊ตฌ์กฐ
  • ready/search-form-1: ์ˆœ์ˆ˜JS 1 - ๊ฒ€์ƒ‰ํผ 2
  • ready/search-form-2: ์ˆœ์ˆ˜JS 1 - ๊ฒ€์ƒ‰ํผ 3
  • ready/search-form-3: ์ˆœ์ˆ˜JS 1 - ๊ฒ€์ƒ‰ํผ 4
  • ready/search-form-4: ์ˆœ์ˆ˜JS 1 - ๊ฒ€์ƒ‰๊ฒฐ๊ณผ 1
  • ready/search-result-1: ์ˆœ์ˆ˜JS 1 - ๊ฒ€์ƒ‰๊ฒฐ๊ณผ 2(์‹ค์Šต)
  • ready/search-result-2: ์ˆœ์ˆ˜JS 1 - ํƒญ 1
  • ready/tab-1: ์ˆœ์ˆ˜JS 1 - ํƒญ 2
  • ready/tab-2: ์ˆœ์ˆ˜JS 1 - ํƒญ 3 (์‹ค์Šต)
  • ready/tab-3: ์ˆœ์ˆ˜JS 1 - ์ถ”์ฒœ ๊ฒ€์ƒ‰์–ด 1
  • ready/keyword-list-1: ์ˆœ์ˆ˜JS 1 - ์ถ”์ฒœ ๊ฒ€์ƒ‰์–ด 2
  • ready/keyword-list-2: ์ˆœ์ˆ˜JS 1 - ์ถ”์ฒœ ๊ฒ€์ƒ‰์–ด 3(์‹ค์Šต)
  • ready/keyword-list-3: ์ˆœ์ˆ˜JS 1 - ์ตœ๊ทผ ๊ฒ€์ƒ‰์–ด 1
  • ready/history-list-1: ์ˆœ์ˆ˜JS 1 - ์ตœ๊ทผ ๊ฒ€์ƒ‰์–ด 2
  • ready/history-list-2: ์ˆœ์ˆ˜JS 1 - ์ตœ๊ทผ ๊ฒ€์ƒ‰์–ด 3(์‹ค์Šต)

2ํŽธ ์†Œ๊ฐœํŽธ

  • intro/hello-world: ํ—ฌ๋กœ ์›”๋“œ - Hello world
  • intro/jsx: ์‹ค์Šต์— ๋งž๊ฒŒ ๊ฐœ์„ ํ•˜๊ธฐ - ์‹œ์ž‘์ 
  • intro/scaffolding: ์‹ค์Šต์— ๋งž๊ฒŒ ๊ฐœ์„ ํ•˜๊ธฐ - ํ—ค๋” ๊ตฌํ˜„
  • intro/header: ๊ฒ€์ƒ‰ํผ 1 - Input ์š”์†Œ ์‚ฌ์šฉํ•˜๊ธฐ

3ํŽธ ์‚ฌ์šฉํŽธ 1

  • react/search-form-1: ๊ฒ€์ƒ‰ํผ 1 - ๋ฆฌ์•กํŠธ ์ปดํฌ๋„ŒํŠธ
  • react/search-form-2: ๊ฒ€์ƒ‰ํผ 1 - ์ž…๋ ฅ๊ฐ’์„ ๊ธฐ์–ตํ•˜๊ธฐ: State
  • react/search-form-3: ๊ฒ€์ƒ‰ํผ 1 - ์ƒํƒœ๋ฅผ ๊ฐฑ์‹ ํ•˜๊ธฐ: ์ด๋ฒคํŠธ ์ฒ˜๋ฆฌ
  • react/search-form-4: ๊ฒ€์ƒ‰ํผ 2 - ์กฐ๊ฑด๋ถ€ ๋ Œ๋”๋ง
  • react/search-form-5: ๊ฒ€์ƒ‰ํผ 2 - ํผ ์ œ์ถœ
  • react/search-form-6: ๊ฒ€์ƒ‰ํผ 2 - ํผ ์ดˆ๊ธฐํ™”(์‹ค์Šต)
  • react/search-form-7: ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ - ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ๊ฐ€ ์—†์„ ๊ฒฝ์šฐ
  • react/search-result-1: ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ - ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ
  • react/search-result-2: ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ - ๋ฆฌ์ŠคํŠธ์™€ ํ‚ค
  • react/search-result-3: ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ - ๊ฒ€์ƒ‰๊ฒจ๋กœ๊ฐ€ ์ดˆ๊ธฐํ™”(์‹ค์Šต)
  • react/search-result-4: ํƒญ - ํƒญ ๋ณด์—ฌ์ฃผ๊ธฐ
  • react/tab-1: ํƒญ - ๊ธฐ๋ณธ ํƒญ ์„ค์ •๊ณผ ํƒญ ์„ ํƒ(์‹ค์Šต)
  • react/tab-2: ์ถ”์ฒœ/์ตœ๊ทผ ๊ฒ€์ƒ‰์–ด - ์ถ”์ฒœ ๊ฒ€์ƒ‰์–ด 1
  • react/keyword-1: ์ถ”์ฒœ/์ตœ๊ทผ ๊ฒ€์ƒ‰์–ด - ์ถ”์ฒœ ๊ฒ€์ƒ‰์–ด 2(์‹ค์Šต)
  • react/keyword-2: ์ถ”์ฒœ/์ตœ๊ทผ ๊ฒ€์ƒ‰์–ด - ์ตœ๊ทผ ๊ฒ€์ƒ‰์–ด 1
  • react/history-1: ์ถ”์ฒœ/์ตœ๊ทผ ๊ฒ€์ƒ‰์–ด - ์ตœ๊ทผ ๊ฒ€์ƒ‰์–ด 2
  • react/history-2: ์ถ”์ฒœ/์ตœ๊ทผ ๊ฒ€์ƒ‰์–ด - ์ตœ๊ทผ ๊ฒ€์ƒ‰์–ด 3(์‹ค์Šต)

4ํŽธ ์‚ฌ์šฉํŽธ 2 (์ปดํฌ๋„ŒํŠธ ํŽธ)

  • component/scaffolding: ์†Œ๊ฐœ - ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ ๋ณ€๊ฒฝํ•˜๊ธฐ
  • component/app: ์†Œ๊ฐœ - Header - ํ•จ์ˆ˜ ์ปดํฌ๋„ŒํŠธ
  • component/header-1: ์†Œ๊ฐœ - ์žฌํ™œ์šฉ ๊ฐ€๋Šฅํ•œ ์ปดํฌ๋„ŒํŠธ๋กœ ๊ฐœ์„ ํ•˜๊ธฐ: Props
  • component/header-2: ๊ตฌํ˜„ํ•˜๊ธฐ 1 - SearchForm 1
  • component/search-form-1: ๊ตฌํ˜„ํ•˜๊ธฐ 1 - SearchForm 2
  • component/search-form-2: ๊ตฌํ˜„ํ•˜๊ธฐ 1 - State ๋Œ์–ด์˜ฌ๋ฆฌ๊ธฐ
  • component/search-form-3: ๊ตฌํ˜„ํ•˜๊ธฐ 1 - SearchResult
  • component/search-result: ๊ตฌํ˜„ํ•˜๊ธฐ 1 - Tabs
  • component/tab: ๊ตฌํ˜„ํ•˜๊ธฐ 2 - ์ƒ์† 1
  • component/inheritance-1: ๊ตฌํ˜„ํ•˜๊ธฐ 2 - ์ƒ์† 2(์‹ค์Šต)
  • component/inheritance-2: ๊ตฌํ˜„ํ•˜๊ธฐ 2 - ์กฐํ•ฉ: ์ปดํฌ๋„ŒํŠธ ๋‹ด๊ธฐ 1
  • component/composition-1: ๊ตฌํ˜„ํ•˜๊ธฐ 2 - ์กฐํ•ฉ: ์ปดํฌ๋„ŒํŠธ ๋‹ด๊ธฐ 2(์‹ค์Šต)
  • component/composition-2: ๊ตฌํ˜„ํ•˜๊ธฐ 2 - ์กฐํ•ฉ: ํŠน์ˆ˜ํ™” 1
  • component/composition-3: ๊ตฌํ˜„ํ•˜๊ธฐ 2 - ์กฐํ•ฉ: ํŠน์ˆ˜ํ™” 2(์‹ค์Šต)
  • master: ์ตœ์ข… ๊ฒฐ๊ณผ๋ฌผ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published