We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PureComponent
Feed
1 parent 2c44360 commit 7bde336Copy full SHA for 7bde336
src/feed/index.js
@@ -1,4 +1,4 @@
1
-import React, { Component } from 'react'
+import React, { PureComponent } from 'react'
2
import { withTheme } from 'emotion-theming'
3
import { compose } from '@exah/utils'
4
import { withCurrentMedia } from '../current-media-provider'
@@ -17,7 +17,7 @@ const groupChildren = (children = [], length = 3) => {
17
}, placeholder)
18
}
19
20
-class FeedContainer extends Component {
+class FeedContainer extends PureComponent {
21
static defaultProps = {
22
theme: { grid: 12 },
23
spaceContent: true,
0 commit comments