From 57d3de1e5c378678c901639711a22d121e2ec766 Mon Sep 17 00:00:00 2001 From: Barney Carroll Date: Sun, 26 Feb 2017 17:29:43 +0000 Subject: [PATCH] Docs: component props aren't copied to instances --- docs/components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components.md b/docs/components.md index db5c0b0f..c67ea89b 100644 --- a/docs/components.md +++ b/docs/components.md @@ -109,7 +109,7 @@ The state of a component can be accessed three ways: as a blueprint at initializ #### At initialization -Any property attached to the component object is copied for every instance of the component. This allows simple state initialization. +The component object is the prototype of each component instance, so any property defined on the component object will be accessible as a property of `vnode.state`. This allows simple state initialization. In the example below, `data` is a property of the `ComponentWithInitialState` component's state object.