shouldComponentUpdate nedir?

shouldComponentUpdate () Varsayılan davranış, her state değişiminde tekrar render edilmesidir ve çoğu durumda varsayılan davranışı kullanmalısınız. shouldComponentUpdate () yeni props veya state alındığında render edilmeden önce çağrılır. Varsayılan değer true dur.

Sizin İçin Seçtik  What is state and props in React?

Leave a Reply

Your email address will not be published. Required fields are marked *