Install @welldone-software/why-did-you-render package
Create wdyr.js file for configaring why did you render
Create a file called wdyr.js file in root folder of your project and paste the following content.
On reload of your application you should see the logs coming in the console.