/p>
<p>Take care not to use lifecycle method names for your own callback function names in vnodes.</p>
<p>To learn more about lifecycle methods, <a href="lifecycle-methods.html">see the lifecycle methods page</a>.</p>
<hr>
<h3 id="syntactic-variants"><a href="#syntactic-variants">Syntactic variants</a></h3>
<h4 id="es6-classes"><a href="#es6-classes">ES6 classes</a></h4>
<p>Components can also be written using ES6 class syntax:</p>
<pre><code class="lang-javascript">class ES6ClassComponent {
    constructor