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 d7fadf7 commit 2ba75d0Copy full SHA for 2ba75d0
corrections.md
@@ -105,6 +105,26 @@ pg. 190
105
import { useState } from "react";
106
```
107
108
+반면, `React.memo` 를 사용하는 코드가 있다면 React를 불러와야 합니다.
109
+
110
+```javascript
111
+import React from 'react';
112
113
+(...)
114
115
+export default React.memo(...)
116
+```
117
118
+또는 다음과 같이 사용할 수도 있습니다.
119
120
121
+import { memo } from 'react';
122
123
124
125
+export default memo(...)
126
127
128
### 책 전체에서 나오는 설명 변경
129
130
"함수형 컴포넌트" 라는 용어를 "함수 컴포넌트" 로 모두 바꿉니다.
0 commit comments