From cdfc5083b1254e92a9e68625bec93078b1ae14f4 Mon Sep 17 00:00:00 2001 From: Matthew Herbst Date: Wed, 12 Apr 2017 18:17:26 -0700 Subject: [PATCH] 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. --- docs/rules/no-render-return-value.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-render-return-value.md b/docs/rules/no-render-return-value.md index a0575c259c..12ef6c767e 100644 --- a/docs/rules/no-render-return-value.md +++ b/docs/rules/no-render-return-value.md @@ -2,7 +2,7 @@ > `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. -Source: [React Top-Level API documentation](http://facebook.github.io/react/docs/top-level-api.html#reactdom.render) +Source: [ReactDOM documentation](https://facebook.github.io/react/docs/react-dom.html#render) ## Rule Details