Skip to content

Commit 8077396

Browse files
committed
Small clarification
Fixes #514
1 parent bc83db2 commit 8077396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/render-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,4 +328,4 @@ class MouseTracker extends React.Component {
328328
}
329329
```
330330

331-
In cases where you cannot bind the instance method ahead of time in the constructor (e.g. because you need to close over the component's props and/or state) you should extend `React.Component` instead.
331+
In cases where you cannot bind the instance method ahead of time in the constructor (e.g. because you need to close over the component's props and/or state) `<Mouse>` should extend `React.Component` instead.

0 commit comments

Comments
 (0)