From 6fdc75b3fe6e6183d81b4d946b818d1992ede229 Mon Sep 17 00:00:00 2001 From: Jason O'Neil Date: Sun, 1 Oct 2017 21:52:22 +1100 Subject: [PATCH] Fix createPortal link in API docs (#11000) The anchor name is lower case --- docs/reference-react-dom.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference-react-dom.md b/docs/reference-react-dom.md index 1998d530..319e395b 100644 --- a/docs/reference-react-dom.md +++ b/docs/reference-react-dom.md @@ -16,7 +16,7 @@ The `react-dom` package provides DOM-specific methods that can be used at the to - [`hydrate()`](#hydrate) - [`unmountComponentAtNode()`](#unmountcomponentatnode) - [`findDOMNode()`](#finddomnode) -- [`createPortal()`](#createPortal) +- [`createPortal()`](#createportal) ### Browser Support @@ -107,4 +107,4 @@ If this component has been mounted into the DOM, this returns the corresponding ReactDOM.createPortal(child, container) ``` -Creates a portal. Portals provide a way to [render children into a DOM node that exists outside the hierarchy of the DOM component](/docs/portals.html). \ No newline at end of file +Creates a portal. Portals provide a way to [render children into a DOM node that exists outside the hierarchy of the DOM component](/docs/portals.html).