Check the reason make your page re-render by changed props and state
The approach of the post is we will console.log at componentDidUpdate. Find out the reason make our component re-render (specifically is look for those states and props changed). Avoid your page re-render unnecessary is a thing very important in optimizing your app performance.
Check the reason make your page re-render by changed props and state
The approach of the post is we will console.log at componentDidUpdate. Find out the reason make our component re-render (specifically is look for those states and props changed). Avoid your page re-render unnecessary is a thing very important in optimizing your app performance.
tranvanhuyhoang