mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
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:
1 parent
4fceb3750b
commit
8dc59c47bd
7 files changed
+51
-35
No files matched your search
@@ -67,7 +67,7 @@ export const APPS: IAppConfig[] = [
|
||||
backgroundColor: MESSAGES_APP_PRIMARY_COLOR,
|
||||
color: MESSAGES_APP_TEXT_COLOR,
|
||||
path: '/messages',
|
||||
Route: () => <AppRoute id="MESSAGE" path="/messages" component={MessagesApp} />,
|
||||
Route: () => <AppRoute id="MESSAGES" path="/messages" component={MessagesApp} />,
|
||||
},
|
||||
{
|
||||
id: 'CONTACTS',
|
||||
|
||||
Reference in new issue
Block a user