From 08c5e42649c85048b9035b3485c7b675e99ade3c Mon Sep 17 00:00:00 2001 From: Jim Date: Fri, 2 Jan 2015 14:02:44 -0800 Subject: [PATCH] Update docs to indicate that componentDDidUpdate is fired after changes are flushed to the DOM. Fixes #2796 --- 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 20efc831cc3..0bf75261b4a 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.