744b50d5d4
* add example for why-did-you-render * Load whyDidYouRender from _app.js To avoid custom webpack main entry modifications as this can cause [hydration errors](https://github.com/zeit/next.js/pull/10662#pullrequestreview-365188433)
15 lines
300 B
JSON
15 lines
300 B
JSON
{
|
|
"name": "why-did-you-render",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@welldone-software/why-did-you-render": "^4.0.4",
|
|
"next": "latest",
|
|
"react": "^16.7.0",
|
|
"react-dom": "^16.7.0"
|
|
},
|
|
"license": "ISC"
|
|
}
|