title: Executing method on Parameter change
body: <p>Given a child and a parent component I am trying to execute a method within the <code>child</code> when a <code>parameter</code> has changed (from the parent).</p>
  <p><strong>Parent</strong></p>
  <pre><code>&lt;Child value=@IsChanged&gt;&lt;/Child&gt;
  
  &lt;button onclick=&quot;Update&quot;&gt;&lt;/button&gt;
  
  @functions(){
    public bool IsChanged{get;set;}
    public void Update()
    {
     this.IsChanged!=this.IsChanged;
    }
  </code></pre>
  <p><strong>Child</strong></p>
  <pre><code>@(value?&quot;True&quot;:&quot;False&quot;)
  @functions()
  {
    [Parameter]
    protected bool value {get;set;}
    
    public void SideEffect()
    {
      Console.WriteLine(&quot;has changed&quot;); //i want this method executed when value changes from parent
    }
  </code></pre>
  <p>As you can see i need to execute the method inside the <code>Child</code> onchange of the parameter.The parameter is changed in the parent.</p>
  <p><strong>P.S</strong><br>I have looked on the <code>onchange</code> eventhandler but i need to execute on a <code>[Parameter]</code>.</p>