[TIL/23] 07.05.Wed.

2023. 7. 6. 09:01ใ†โœ๏ธ TIL(Today I Learned)/๐Ÿฐ 2023 Black Rabbit

Today I Studied

  • PS

    • Study: Programmers/์ฝ”๋”ฉ ๊ธฐ์ดˆ ํŠธ๋ ˆ์ด๋‹/Day21
  • ๋ฆฌ์•กํŠธ ์‹ฌํ™”์ฃผ์ฐจ 1์ฃผ์ฐจ

    • axios์™€ fetch์˜ ๋น„๊ต
    • axios์™€ interceptor
    • Thunk
    • custom hooks
    • react query
    • throttling & debouncing

Today I Learned

  • axios intercepter
    => ์š”์ฒญ/์‘๋‹ต ์‹œ ํ˜ธ์ถœ, then/catch ์ฒ˜๋ฆฌ๋˜๊ธฐ ์ „์— ์š”์ฒญ/์‘๋‹ต์„ ๊ฐ€๋กœ์ฑ”

  • Thunk: redux์—์„œ ์‚ฌ์šฉํ•˜๋Š” ๋ฏธ๋“ค์›จ์–ด

    • ๋ฏธ๋“ค์›จ์–ด: ์„œ๋ฒ„์™€์˜ ํ†ต์‹ ์„ ์œ„ํ•ด ์‚ฌ์šฉ//ex) dispatch ํ›„ '3์ดˆ ๋Œ€๊ธฐ' action์—์„œ '3์ดˆ๋Œ€๊ธฐ'๋Š” ๋ฏธ๋“ค์›จ์–ด๋กœ ๊ตฌํ˜„ํ•ด์•ผ ํ•จ
  • React Query

    • ๊ธฐ์กด ๋ฏธ๋“ค์›จ์–ด์˜ ํ•œ๊ณ„: ๋ณด์ผ๋Ÿฌํ”Œ๋ ˆ์ดํŠธ๊ฐ€ ๋งŽ์Œ
    • react query๋Š” ์ด๋Ÿฌํ•œ ํ•œ๊ณ„๋ฅผ ํ•ด๊ฒฐํ•ด์ค€ ๋ฏธ๋“ค์›จ์–ด๋กœ trendyํ•˜๋‹ค
  • throttlilng: ์งง์€ ์‹œ๊ฐ„์— ์ด๋ฒคํŠธ๊ฐ€ ์—ฌ๋Ÿฌ๋ฒˆ ์ผ์–ด๋‚˜๋”๋ผ๋„, ์ผ์ • ์‹œ๊ฐ„ delay๋ฅผ ๋‘์–ด ํ•ด๋‹น ์‹œ๊ฐ„๋งŒํผ๋งŒ ํ˜ธ์ถœํ•˜๊ฒŒ ํ•จ

  • Debouncing: throttling๊ณผ ๊ฐ™์€ ๊ธฐ๋Šฅ์„ ์ˆ˜ํ–‰, ๋งˆ์ง€๋ง‰ event๋งŒ ํ˜ธ์ถœํ•˜์—ฌ ์ฒ˜๋ฆฌํ•จ

  • Lodash


๐Ÿ•ฐ๏ธ ์˜ค๋Š˜์˜ ๊ณต๋ถ€ ์‹œ๊ฐ„:12:04

'โœ๏ธ TIL(Today I Learned) > ๐Ÿฐ 2023 Black Rabbit' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[TIL/23]07.07.Fri.  (0) 2023.07.07
[TIL/23] 07.06.Thu.  (0) 2023.07.06
[TIL/23]07.04.Tue.  (0) 2023.07.04
[TIL/23]07.03.Mon.  (0) 2023.07.04
[TIL/23] 06.29.Thu.  (0) 2023.06.30