(prevProps)
| 227 | } |
| 228 | |
| 229 | componentDidUpdate(prevProps) { |
| 230 | if (dependsOnProps && !shallowEqual(omitChildren(this.props), omitChildren(prevProps))) { |
| 231 | this.refetchDataFromProps() |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | shouldComponentUpdate(nextProps, nextState) { |
| 236 | return this.state.data !== nextState.data || !shallowEqual(this.props, nextProps) |
nothing calls this directly
no test coverage detected