Skip to content

Commit b1a5b7b

Browse files
fix(docs): Component reference render parameters (#6098)
1 parent a86663d commit b1a5b7b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/content/reference/react/Component.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,9 +593,7 @@ You should write the `render` method as a pure function, meaning that it should
593593
594594
#### Parameters {/*render-parameters*/}
595595
596-
* `prevProps`: Props before the update. Compare `prevProps` to [`this.props`](#props) to determine what changed.
597-
598-
* `prevState`: State before the update. Compare `prevState` to [`this.state`](#state) to determine what changed.
596+
`render` does not take any parameters.
599597
600598
#### Returns {/*render-returns*/}
601599

0 commit comments

Comments
 (0)