Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfe1ae08

Browse files
committed
ignore connect for now
1 parentfca5621 commitfe1ae08

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎src/containers/CarsPageContainer.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,6 @@ const mapDispatchToProps = {
6262
addCar,
6363
};
6464

65-
exportdefaultconnect(mapStateToProps,mapDispatchToProps)(CarsPageContainer);
65+
exportdefaultReact.memo(
66+
connect(mapStateToProps,mapDispatchToProps)(CarsPageContainer)
67+
);

‎src/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if (
1313

1414
whyDidYouRender(React,{
1515
include:[/.*/],
16-
exclude:[],
16+
exclude:[/^Connect/],
1717
collapseGroups:true,
1818
notifier:whyDidYouRenderNotifier.default,
1919
});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp