๋ฐ˜์‘ํ˜•

udemy 13

[Data structures] section2: ๋น…์˜ค ํ‘œ๊ธฐ๋ฒ• (Big O Notation)

4. ๋น…์˜ค (BIG O) ์†Œ๊ฐœ Objectives Big O ํ‘œ๊ธฐ๋ฒ•์˜ ํ•„์š”์„ฑ Big O ๊ฐ€ ๋ฌด์—‡์ธ์ง€ Big O ๊ฐ„๋‹จํ•˜๊ฒŒ ํ‘œํ˜„ํ•˜๋Š” ๋ฒ• ์‹œ๊ฐ„ ๋ณต์žก์„ฑ๊ณผ ๊ณต๊ฐ„ ๋ณต์žก์„ฑ ์ •์˜ Big O ํ‘œ๊ธฐ๋ฒ•์„ ์‚ฌ์šฉํ•˜์—ฌ ์—ฌ๋Ÿฌ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ํ‰๊ฐ€ํ•˜๊ธฐ ๋กœ๊ทธ (logarithm)์ด ๋ฌด์—‡์ธ์ง€ What's the idea here? "Write a function that accepts a string input and returns a reversed copy" ์ œ๋Œ€๋กœ ์ž‘๋™ํ•˜๊ธฐ๋งŒ ํ•œ๋‹ค๋ฉด ๊ทธ๊ฒƒ ๋งŒ์œผ๋กœ๋„ ์ถฉ๋ถ„ํ•˜์ง€ ์•Š์€๊ฐ€? Who Cares? ์ฝ”๋“œ์˜ ์„ฑ๋Šฅ์„ ์–˜๊ธฐํ•  ๋•Œ ์ •ํ™•ํ•œ ์ „๋ฌธ ์šฉ์–ด๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์ด ์ค‘์š”ํ•ฉ๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ ์ ‘๊ทผ๋ฒ•์˜ ์žฅ๋‹จ์ ์„ ์–˜๊ธฐํ• ๋•Œ๋„ ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค. ๊ฐ€์žฅ ์ข‹์€ ํ•ด๊ฒฐ์ฑ…์„ ์ฐพ๋Š” ๊ฒƒ์ด ๊ทธ๋ ‡๊ฒŒ ๋ป”ํ•˜์ง€๋Š” ์•Š์Šต๋‹ˆ๋‹ค. ํ•œ ํ•ด๊ฒฐ์ฑ…์— ์ •๋ง ์ข‹๊ณ  ๋˜ ํ•˜๋‚˜๋Š”..

[Data structures] section1: ์†Œ๊ฐœ

1. ์ปค๋ฆฌํ˜๋Ÿผ ์†Œ๊ฐœ 2. ์–ด๋–ค ์ˆœ์„œ๋กœ ์ˆ˜๊ฐ•ํ•ด์•ผ ํ• ๊นŒ? ๊ผญ ์ˆœ์„œ๋Œ€๋กœ ์ง„ํ–‰ํ•  ํ•„์š”๋Š” ์—†์Šต๋‹ˆ๋‹ค. 2์ฃผ ๋ฐ˜, ๋˜๋Š” 3์ฃผ ๋Œ€๋ฉด ๊ณผ์ •์—์„œ ๊ฐ€๋ฅด์น˜๋Š” ์ง‘์ค‘ ๊ณผ์ •์ž…๋‹ˆ๋‹ค. ๊ฐ ์„น์…˜๋งˆ๋‹ค ๋„์ž…๋ถ€์— ์„ ํ–‰ ์กฐ๊ฑด, ํ…์ŠคํŠธ ๊ฐ•์˜๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. 3. ์ฝ”๋“œ๋ฅผ ์–ด๋–ป๊ฒŒ ์‹คํ–‰ํ• ๊นŒ? https://www.udemy.com/course/best-javascript-data-structures/

[Next.js & React] ํ”„๋กœ์ ํŠธ ์‹œ๊ฐ„ ํŽ˜์ด์ง€ ์‚ฌ์ „ ๋ Œ๋”๋ง & ๋ฐ์ดํ„ฐ ํŽ˜์นญ

์ด ๊ธ€์€ udemy์˜ Next.js & React - ์™„๋ฒฝ ์ •๋ณต ๊ฐ€์ด๋“œ (incl. Two Paths) ๊ฐ•์ขŒ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. 124. ๋ชจ๋“ˆ ์š”์•ฝ getStaticProps ํ•จ์ˆ˜๋„ ์‹คํ–‰ํ•ด๋ณด๊ณ  ์œ ํšจ์„ฑ ์žฌ๊ฒ€์‚ฌ ์˜ต์…˜์„ ํ†ตํ•ด ํ•ด๋‹น ์ปดํฌ๋„ŒํŠธ๊ฐ€ ๋ฐฐ์น˜๋˜๊ณ  ์ฃผ๊ธฐ์ ์œผ๋กœ ์žฌ์ƒ์„ฑํ•˜๊ฒŒ ์„ค์ •ํ•ด๋ดค์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ getStaticPaths ํ•จ์ˆ˜๋ฅผ ๊ฒฐํ•ฉํ•˜์—ฌ ๋™์  ํŽ˜์ด์ง€๋ฅผ ์ƒ์„ฑํ–ˆ๊ณ  ํด๋ฐฑ ์˜ต์…˜์„ ์ถ”๊ฐ€ํ•จ์œผ๋กœ์จ ์˜ˆ์ƒ๋˜๋Š” ๋ชจ๋“  ๊ฒฝ์šฐ์˜ ์ธ์Šคํ„ด์Šค์— ์•Œ์•„์„œ ๋Œ€์‘ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ–ˆ์Šต๋‹ˆ๋‹ค. getServerSideProps ํ•จ์ˆ˜๋„ ์‹คํ–‰ํ•˜๋Š” ๊ฑธ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ํด๋ผ์ด์–ธํŠธ ์‚ฌ์ด๋“œ ๋ฐ์ดํ„ฐ ํŽ˜์นญ์œผ๋กœ ์ „ํ™˜ํ–ˆ์Šต๋‹ˆ๋‹ค. ๊ทธ ํ•จ์ˆ˜๋Š” ๋‹ค์Œ์— ์‹ค์Šตํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด์ œ ์—ฌ๋Ÿฌ๋ถ„์€ Next.js์—์„œ ์“ธ ์ˆ˜ ์žˆ๋Š” ๋ฐ์ดํ„ฐ ํŽ˜์นญ์˜ ํ•ต์‹ฌ ๊ตฌ์กฐ๋ฅผ ๋ฐฐ์› ์Šต๋‹ˆ๋‹ค. ๊ทธ์ค‘ ์ผ..

Framework/Next.js 2022.11.22

[Next.js & React] ํŽ˜์ด์ง€ ์‚ฌ์ „ ๋ Œ๋”๋ง & ๋ฐ์ดํ„ฐ ํŽ˜์นญ

์ด ๊ธ€์€ udemy์˜ Next.js & React - ์™„๋ฒฝ ์ •๋ณต ๊ฐ€์ด๋“œ (incl. Two Paths) ๊ฐ•์ขŒ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. 86. ๋ชจ๋“ˆ ๊ฐœ์š” Next.js๋ฅผ ์ด์šฉํ•˜๋ฉด ํ’€์Šคํƒ React ์•ฑ์„ ๊ตฌ์ถ•ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Next.js๋Š” ์„œ๋ฒ„ ์‚ฌ์ด๋“œ์—์„œ ํŽ˜์ด์ง€๋ฅผ ์‚ฌ์ „ ๋ Œ๋”๋ง ํ•ด์ค๋‹ˆ๋‹ค. Next.js๋Š” ์ฝ”๋“œ ์‹คํ–‰์— ์žˆ์–ด์„œ ํด๋ผ์ด์–ธํŠธ ์‚ฌ์ด๋“œ ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ React ์•ฑ์ด ์‹คํ–‰๋˜๋Š” ์‚ฌ์šฉ์ž์˜ ๋ธŒ๋ผ์šฐ์ € ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ ์„œ๋ฒ„ ์‚ฌ์ด๋“œ์—์„œ ์ฝ”๋“œ๋ฅผ ์‹คํ–‰ํ•  ๋•Œ๋„ ๋„์›€์„ ์ค๋‹ˆ๋‹ค. ํŽ˜์ด์ง€์— ํ‘œ์‹œ๋˜์–ด์•ผ ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ์ค€๋น„ํ•˜๊ฑฐ๋‚˜ ๋กœ๋”ฉํ•˜๋Š” ์ž‘์—…์„ ๋•๋Š”๋‹ค๋Š” ์˜๋ฏธ์ž…๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ fetching์ด ๋ฌด์—‡์ธ๊ฐ€ Static VS Server-side Page ์–ด๋–ป๊ฒŒ ๋ฐ์ดํ„ฐ fetch ํ•˜๋Š”๊ฐ€ ์ด ์˜๋ฏธ์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์‚ดํŽด๋ณด๋„๋ก ํ•ฉ์‹œ๋‹ค. 87. ..

Framework/Next.js 2022.11.21

[Next.js & React] ํŒŒ์ผ ๊ธฐ๋ฐ˜ ๋ผ์šฐํŒ… ์ž‘์—…ํ•˜๊ธฐ

์ด ๊ธ€์€ udemy์˜ Next.js & React - ์™„๋ฒฝ ์ •๋ณต ๊ฐ€์ด๋“œ (incl. Two Paths) ๊ฐ•์ขŒ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. 69. ๋ชจ๋“ˆ ๊ฐœ์š” ์ด๋ฒˆ ์„น์…˜์—์„œ๋Š” ์ด๋ฒคํŠธ ์•ฑ์„ ๊ฐ„๋‹จํ•˜๊ฒŒ ๋งŒ๋“ค์–ด๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ์ด๋ฒคํŠธ ๋ชฉ๋ก์„ ํ™•์ธํ•˜๊ณ , ๊ทธ ์ค‘์—์„œ ํ•œ ์ด๋ฒคํŠธ๋ฅผ ์„ ํƒํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. Creat a Complete NextJS Project From Scratch Add Static & Dynamic Routes Add Regular Components & Connect Everything! 70. ํ”„๋กœ์ ํŠธ ๊ณ„ํš / : Startign PAge (show featured Events) /events: Events Page (show all Events) /events/event> event-item..

Framework/Next.js 2022.11.13

[Next.js & React] ํŽ˜์ด์ง€ & ํŒŒ์ผ ๊ธฐ๋ฐ˜ ๋ผ์šฐํŒ…

์ด ๊ธ€์€ udemy์˜ Next.js & React - ์™„๋ฒฝ ์ •๋ณต ๊ฐ€์ด๋“œ (incl. Two Paths) ๊ฐ•์ขŒ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. 52. ๋ชจ๋“ˆ ๊ฐœ์š” ํŒŒ์ผ ๊ธฐ๋ฐ˜์˜ routing, ์ •์  ๋ฐ ๋™์  routes, ํŽ˜์ด์ง€๊ฐ„์˜ ๋„ค๋น„๊ฒŒ์ดํŒ…์— ๋Œ€ํ•ด ๋ฐฐ์šธ ์˜ˆ์ •์ž…๋‹ˆ๋‹ค. 53. ์‹œ์ž‘ ์„ค์ • Setup ์‚ฌ์ดํŠธ ์†Œ์Šค ์ฝ”๋“œ ์ฐธ๊ณ  54. ํŒŒ์ผ ๊ธฐ๋ฐ˜ ๋ผ์šฐํŒ…์ด๋ž€ ๋ฌด์—‡์ผ๊นŒ? React.js๋Š” react-router-dom์„ ์‚ฌ์šฉํ•˜์—ฌ, ๋ผ์šฐํŠธ๋ฅผ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ Next.js๋Š” ๋ผ์šฐํ„ฐ๋ฅผ ์„ค์น˜ํ•˜์ง€ ์•Š๊ณ , ๋ผ์šฐํŠธ์™€ ํŽ˜์ด์ง€ ๊ตฌ์กฐ๋ฅผ ์ •์˜ํ•˜๋Š” ๋ฐ JSX์™€ JS ์ฝ”๋“œ๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. Next.js์—์„œ๋Š” React ์ปดํฌ๋„ŒํŠธ ํŒŒ์ผ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. ํŠน๋ณ„ํ•œ ํด๋”์— ์ผ๋ฐ˜์ ์ธ React ์ปดํฌ๋„ŒํŠธ ํŒŒ์ผ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. ์ดํ›„ Next.js๊ฐ€ ์„ค์ •๋œ ํด..

Framework/Next.js 2022.11.04

[Next.js & React] ์‹œ์ž‘ํ•˜๊ธฐ

์ด ๊ธ€์€ udemy์˜ Next.js & React - ์™„๋ฒฝ ์ •๋ณต ๊ฐ€์ด๋“œ (incl. Two Paths) ๊ฐ•์ขŒ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. 1. Welcome to the Coursel ์‹œ์ž‘ํ•˜๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ๊พธ์ค€ํžˆ ํ™”์ดํŒ… ๐ŸคŸ๐ŸคŸ 2. Next.js๋ž€ ๋ฌด์—‡์ธ๊ฐ€? Next.js๋ฅผ ์™œ ์‚ฌ์šฉํ•˜๋Š” ๊ฑธ๊นŒ? NextJS๋Š” ํ”„๋กœ๋•์…˜์šฉ React ํ”„๋ ˆ์ž„ ์›Œํฌ ์ž…๋‹ˆ๋‹ค. ํฐ ๊ทœ๋ชจ์˜ ํ”„๋กœ๋•์…˜์šฉ React ์•ฑ์„ ์‰ฝ๊ฒŒ ๊ตฌ์ถ•ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•ด์ฃผ๋Š” ๋งŽ์€ ๊ธฐ๋Šฅ์„ ๊ฐ€์ง€๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ReactJS๋Š” ์‚ฌ์šฉ์ž ์ธํ„ฐํŽ˜์ด์Šค ๊ตฌ์ถ•์„ ์œ„ํ•œ JS ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ž…๋‹ˆ๋‹ค. ์ฆ‰ Third Party ํŒจํ‚ค์ง€๋กœ ํ”„๋ก ํŠธ ์—”๋“œ ํ”„๋กœ์ ํŠธ์— ์ถ”๊ฐ€๋˜๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ž…๋‹ˆ๋‹ค. ๊ฒฐ๊ตญ ํด๋ผ์ด์–ธํŠธ ์ธก JavaScript ์ฝ”๋“œ๋ผ๋Š” ์ด์•ผ๊ธฐ ์ž…๋‹ˆ๋‹ค. ์ฃผ๋กœ ์‚ฌ์šฉ์ž ์ธํ„ฐํŽ˜์ด์Šค ๋ถ€๋ถ„์ธ ์ปดํฌ๋„ŒํŠธ,..

Framework/Next.js 2022.11.02

[React ์™„๋ฒฝ ๊ฐ€์ด๋“œ] section 11 : Practice Project: Building a Food Order App

์ด ๊ธ€์€ udemy์˜ React ์™„๋ฒฝ ๊ฐ€์ด๋“œ with Redux, Next.js, TypeScript ๊ฐ•์ขŒ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. 139. ๋ชจ๋“ˆ ์†Œ๊ฐœ ์ง€๋‚œ ์„น์…˜์—์„œ ์ค‘์š”ํ•œ ๋ฆฌ์•กํŠธ ๊ฐœ๋…๋“ค์„ ์‚ดํŽด๋ณด์•˜์Šต๋‹ˆ๋‹ค. useEffect, useContext, useReducer ๋“ฑ๋“ฑ / ์œ„ ๊ฐœ๋…์„ ๋ณต์Šตํ•˜๋ฉด์„œ ๋‹ค์‹œ ์‚ดํŽด๋ณด๋„๋ก ํ•ฉ์‹œ๋‹ค. 140. ์„ค์ • ์‹œ์ž‘ํ•˜๊ธฐ Layout folder : ex. Header UI folder: ex. Input 141. "ํ—ค๋”" ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€ํ•˜๊ธฐ header ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€ 142. Adding the "Cart" Button Component Cart Button ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€ 143. Adding a "Meals" Component Meals ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€ 144. Adding I..

[React ์™„๋ฒฝ ๊ฐ€์ด๋“œ] section 10 : ๊ณ ๊ธ‰ ๋ฆฌ๋“€์„œ(Reducer)๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ถ€์ž‘์šฉ ์ฒ˜๋ฆฌ & ์ปจํ…์ŠคํŠธ API

์ด ๊ธ€์€ udemy์˜ React ์™„๋ฒฝ ๊ฐ€์ด๋“œ with Redux, Next.js, TypeScript ๊ฐ•์ขŒ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. 117. ๋ชจ๋“ˆ ์†Œ๊ฐœ Effects, ReducersContext Working with (Side) Effects MAnaging more Complex State with Reducers Managing App - Wide or Component - Wide State with Context 118. "Side Effects"์ด๋ž€ ๋ฌด์—‡์ด๋ฉฐ useEffect๋ฅผ ์†Œ๊ฐœํ•ฉ๋‹ˆ๋‹ค. Main Job : Render UI & React to User Input Evaluate & Render JSX Manage State & Props React to (User) Events & ..

[React ์™„๋ฒฝ ๊ฐ€์ด๋“œ] section 5 : ๋ Œ๋”๋ง ๋ฆฌ์ŠคํŠธ ๋ฐ ์กฐ๊ฑด๋ถ€ Content

์ด ๊ธ€์€ udemy์˜ React ์™„๋ฒฝ ๊ฐ€์ด๋“œ with Redux, Next.js, TypeScript ๊ฐ•์ขŒ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. 67. ๋ชจ๋“ˆ ์†Œ๊ฐœ Outputting Dynamic Lists Of Content Rendering Contend Under Certain Conditions 68. ๋ฐ์ดํ„ฐ์™€ ๋ Œ๋”๋ง ๋ชฉ๋ก JSX ์ฝ”๋“œ์—์„œ map ํ•จ์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋™์ ์ธ ๊ตฌ๋ฌธ์„ ์‹คํ–‰ํ•ด๋ณด๋„๋ก ํ•˜์ž. https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Array/map return ( {props.items.map((expense) => ( ))} {/* */} ); 69. State ์ €์žฅ ๋ชฉ๋ก ์‚ฌ์šฉ ์ดˆ๊ธฐ expenses ..

๋ฐ˜์‘ํ˜•