diff --git a/src/hooks/useConditionalEffect/ko/useConditionalEffect.md b/src/hooks/useConditionalEffect/ko/useConditionalEffect.md index 1567dfea..ba4afacf 100644 --- a/src/hooks/useConditionalEffect/ko/useConditionalEffect.md +++ b/src/hooks/useConditionalEffect/ko/useConditionalEffect.md @@ -32,7 +32,7 @@ function useConditionalEffect( required name="condition" type="(prevDeps: T | undefined, currentDeps: T) => boolean" - description="이전 및 현재 의존성을 기반으로 효과를 실행할지 결정하는 함수예요. - 초기 렌더링 시, prevDepsundefined일 거예요. condition 함수는 이 경우를 처리해야 해요. - 초기 렌더링 시 효과를 실행하려면, prevDepsundefined일 때 true를 반환하면 돼요. - 초기 렌더링 시 효과를 실행하고 싶지 않다면, prevDepsundefined일 때 false를 반환하면 돼요." + description="이전 및 현재 의존성을 기반으로 효과를 실행할지 결정하는 함수예요.
- 초기 렌더링 시, prevDepsundefined일 거예요. condition 함수는 이 경우를 처리해야 해요.
- 초기 렌더링 시 효과를 실행하려면, prevDepsundefined일 때 true를 반환하면 돼요.
- 초기 렌더링 시 효과를 실행하고 싶지 않다면, prevDepsundefined일 때 false를 반환하면 돼요." /> ### 반환 값 diff --git a/src/hooks/useConditionalEffect/useConditionalEffect.md b/src/hooks/useConditionalEffect/useConditionalEffect.md index 8c5f0c0f..ff1af658 100644 --- a/src/hooks/useConditionalEffect/useConditionalEffect.md +++ b/src/hooks/useConditionalEffect/useConditionalEffect.md @@ -32,7 +32,7 @@ function useConditionalEffect( required name="condition" type="(prevDeps: T | undefined, currentDeps: T) => boolean" - description="Function that determines if the effect should run based on previous and current deps. - On the initial render, prevDeps will be undefined. Your condition function should handle this case. - If you want your effect to run on the initial render, return true when prevDeps is undefined. - If you don\'t want your effect to run on the initial render, return false when prevDeps is undefined." + description="Function that determines if the effect should run based on previous and current deps.
- On the initial render, prevDeps will be undefined. Your condition function should handle this case.
- If you want your effect to run on the initial render, return true when prevDeps is undefined.
- If you don\'t want your effect to run on the initial render, return false when prevDeps is undefined." /> ### Return Value