From 5045e82b2a3811081a5d4f713e4651a7356d9954 Mon Sep 17 00:00:00 2001 From: Sophie Alpert Date: Fri, 22 Jun 2018 04:07:04 -0700 Subject: [PATCH] Clarify class lifetime in class conversion example (#912) * Clarify class lifetime in class conversion example * Update state-and-lifecycle.md --- content/docs/state-and-lifecycle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/state-and-lifecycle.md b/content/docs/state-and-lifecycle.md index 9ad98b64..1d6979c6 100644 --- a/content/docs/state-and-lifecycle.md +++ b/content/docs/state-and-lifecycle.md @@ -104,7 +104,7 @@ class Clock extends React.Component { `Clock` is now defined as a class rather than a function. -This lets us use additional features such as local state and lifecycle hooks. +The `render` method will be called each time an update happens, but as long as we render `` into the same DOM node, only a single instance of the `Clock` class will be used. This lets us use additional features such as local state and lifecycle hooks. ## Adding Local State to a Class