From 371548b90cb9da94c5144dd3e781cc1e28fb30fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Mon, 5 Jan 2015 09:34:38 -0800 Subject: [PATCH] Merge pull request #2801 from jsfb/componentDidUpdate-docs Update docs to indicate that componentDDidUpdate is fired after changes are flushed to the DOM. Fix --- docs/docs/ref-03-component-specs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/ref-03-component-specs.md b/docs/docs/ref-03-component-specs.md index 20efc831cc..0bf75261b4 100644 --- a/docs/docs/ref-03-component-specs.md +++ b/docs/docs/ref-03-component-specs.md @@ -195,7 +195,7 @@ Use this as an opportunity to perform preparation before an update occurs. componentDidUpdate(object prevProps, object prevState) ``` -Invoked immediately after updating occurs. This method is not called for the initial render. +Invoked immediately after the component's updates are flushed to the DOM. This method is not called for the initial render. Use this as an opportunity to operate on the DOM when the component has been updated.