From 6b97ac8811eaf35bc2a560ff844710e4933a5027 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 26 May 2014 02:29:29 +0400 Subject: [PATCH] Apply component and mixins specs deterministically Fixes #1589. --- docs/05-reusable-components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/05-reusable-components.md b/docs/05-reusable-components.md index 89dfba5d..8c9c2369 100644 --- a/docs/05-reusable-components.md +++ b/docs/05-reusable-components.md @@ -187,5 +187,5 @@ React.renderComponent( ); ``` -A nice feature of mixins is that if a component is using multiple mixins and several mixins define the same lifecycle method (i.e. several mixins want to do some cleanup when the component is destroyed), all of the lifecycle methods are guaranteed to be called. +A nice feature of mixins is that if a component is using multiple mixins and several mixins define the same lifecycle method (i.e. several mixins want to do some cleanup when the component is destroyed), all of the lifecycle methods are guaranteed to be called. Methods defined on mixins run in the order mixins were listed, followed by a method call on the component.