fix(phone): Fix subsequent rerenders & added WDYR (#209)

Fixed an issue with infinite rerendering on app routes by making it a Pure component.

Adds `why-did-you-render` for development use.

Co-authored-by: Taso <[email protected]>
This commit is contained in:
J Francisco RaderandTaso authored and GitHub committed 2021-04-13 21:33:18 -04:00
1 parent 4fceb3750b
commit 8dc59c47bd
7 files changed
+51 -35

No files matched your search

+1
View File
@@ -43,6 +43,7 @@
"@types/react": "^16.9.51",
"@types/react-dom": "^16.9.8",
"@types/react-router-dom": "^5.1.7",
"@welldone-software/why-did-you-render": "^6.1.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.1",
"cp-cli": "^2.0.0",
"cross-env": "^7.0.2",