We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b2d9ad + f9324ab commit eefff86Copy full SHA for eefff86
src/content/reference/react/useSyncExternalStore.md
@@ -101,8 +101,8 @@ function TodosApp() {
101
102
store에 있는 데이터의 <CodeStep step={3}>snapshot</CodeStep>을 반환합니다. 두 개의 함수를 인수로 전달해야 합니다.
103
104
-1. <CodeStep step={1}>`subscribe` 함수</CodeStep>는 store에 구독하고 구독을 취소하는 함수를 반환해야 합니다.
105
-2. <CodeStep step={2}>`getSnapshot` 함수</CodeStep> 함수는 store에서 데이터의 스냅샷을 읽어야 합니다.
+1. <CodeStep step={1}>`subscribe`</CodeStep> 함수는 store에 구독하고 구독을 취소하는 함수를 반환해야 합니다.
+2. <CodeStep step={2}>`getSnapshot`</CodeStep> 함수는 store에서 데이터의 스냅샷을 읽어야 합니다.
106
107
React는 이 함수를 사용해 컴포넌트를 store에 구독한 상태로 유지하고 변경 사항이 있을 때 리렌더링합니다.
108
0 commit comments