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.
1 parent 3d58b70 commit fa658c2Copy full SHA for fa658c2
src/content/learn/passing-data-deeply-with-context.md
@@ -570,10 +570,6 @@ export const LevelContext = createContext(1);
570
2. `Section`은 자식을 `<LevelContext.Provider value={level}>`로 감싸줍니다.
571
3. `Heading`은 `useContext(LevelContext)`를 사용해 가장 근처의 `LevelContext`의 값을 요청합니다.
572
573
-1. You pass a `level` prop to the `<Section>`.
574
-2. `Section` wraps its children into `<LevelContext value={level}>`.
575
-3. `Heading` asks the closest value of `LevelContext` above with `useContext(LevelContext)`.
576
-
577
## 같은 컴포넌트에서 context를 사용하며 제공하기 {/*using-and-providing-context-from-the-same-component*/}
578
579
지금은 각각의 섹션에 `level`을 수동으로 지정해야 합니다.
0 commit comments