title: how to reset component properties in Vue js?
body: <p>I am trying to make a product review page using Vue js. Please see the below code</p>
  
  <p><strong>App.Vue</strong></p>
  
  <pre><code>&lt;template&gt;
  &lt;div class=" wrapper"&gt;
  &lt;div class="container shadow padding-left-none"&gt;
    &lt;div class="grid-100 padding-left-none"&gt;
      &lt;div class="grid-30 padding-left-none"&gt;
        &lt;product-list&gt;&lt;/product-list&gt;
      &lt;/div&gt;
      &lt;div class="grid-70"&gt;
        &lt;reviewPage :reviews="reviews"&gt;&lt;/reviewPage&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p><strong>review-page.vue</strong></p>
  
  <pre><code>    &lt;template&gt;
      &lt;div class="grid-100"&gt;
          &lt;div class="review-wrapper"&gt;
              &lt;h3&gt;Rate this product&lt;/h3&gt;
              &lt;div class="rating-section"&gt;
                  &lt;div class="user-ratings"&gt;
                      &lt;rating-star v-on:ratingProvided="ratingProvided"&gt;&lt;/rating-star&gt;
                  &lt;/div&gt;
                  &lt;div class="rating-complement" v-if="isRatingProvied"&gt;
                      &lt;span class="complement"&gt;{{ratingComplement}}&lt;/span&gt;
                  &lt;/div&gt;
                  &lt;div class="rating-saved pull-right" v-if="isRatingSaved"&gt;
                      &lt;span class="saved-status"&gt;Your rating has been saved&lt;/span&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="reviews-container"&gt;
                  &lt;div class="review" v-for="review in reviews" :key="review.id"&gt;
  
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>product-list is having product.vue components.</p>
  
  <p>whenever i am selecting a produc, the properties of review-page components are not getting reset. I want to reset "isRatingProvied" property.so that a fresh review page will be rendered for every product selection.</p>