mponent state is useful for supporting object-oriented architectures, for encapsulation and for separation of concerns.</p>
<p>The state of a component can be accessed three ways: as a blueprint at initialization, via <code>vnode.state</code> and via the <code>this</code> keyword in component methods.</p>
<h4 id="at-initialization"><a href="#at-initialization">At initialization</a></h4>
<p>For POJO components, the component object is the prototype of each component instance, so any property defined on the c