Skip to content

Commit cdfc508

Browse files
author
Matthew Herbst
committed
Link fix: ReactDOM docs were broken out
This fixes a link regarding ReactDOM.render. Previously these docs were part of the Top Level API docs for React, but have since been split into their own documentation.
1 parent bfdd722 commit cdfc508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/no-render-return-value.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> `ReactDOM.render()` currently returns a reference to the root `ReactComponent` instance. However, using this return value is legacy and should be avoided because future versions of React may render components asynchronously in some cases. If you need a reference to the root `ReactComponent` instance, the preferred solution is to attach a [callback ref](http://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute) to the root element.
44
5-
Source: [React Top-Level API documentation](http://facebook.github.io/react/docs/top-level-api.html#reactdom.render)
5+
Source: [ReactDOM documentation](https://facebook.github.io/react/docs/react-dom.html#render)
66

77
## Rule Details
88

0 commit comments

Comments
 (0)