Skip to content

Commit c802471

Browse files
committed
๐Ÿ“ docs: ์ฝœ๋ฐฑ ํ•จ์ˆ˜ ๋ฉ”๋ชจ์ด์ œ์ด์…˜ ๊ถŒ์žฅ ๋‚ด์šฉ ์ถ”๊ฐ€
1 parent 5625110 commit c802471

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

โ€Žsrc/hooks/useOnlineStatus.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ interface UseOnlineStatusReturns {
2323
* @description
2424
* ๋ธŒ๋ผ์šฐ์ €์˜ ์˜จ๋ผ์ธ/์˜คํ”„๋ผ์ธ ์ƒํƒœ๋ฅผ ์ถ”์ ํ•˜๋Š” ํ›…์ž…๋‹ˆ๋‹ค.
2525
* ์˜จ๋ผ์ธ ์ƒํƒœ๊ฐ€ ๋ณ€๊ฒฝ๋  ๋•Œ ์‹คํ–‰ํ•  ์ฝœ๋ฐฑ ํ•จ์ˆ˜๋ฅผ ์„ ํƒ์ ์œผ๋กœ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
26+
* ์ฝœ๋ฐฑ ํ•จ์ˆ˜๋“ค์€ `useCallback`์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ฉ”๋ชจ์ด์ œ์ด์…˜ ํ•  ๊ฒƒ์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.
27+
* ์ด๋ฅผ ํ†ตํ•ด ์˜๋„ํ•˜์ง€ ์•Š์€ ์žฌ์ƒ์„ฑ์„ ๋ฐฉ์ง€ํ•˜๊ณ  ์„ฑ๋Šฅ์„ ์ตœ์ ํ™”ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
2628
*/
2729

2830
const useOnlineStatus = ({

0 commit comments

Comments
ย (0)