MCPcopy
hub / github.com/reduxjs/redux / componentDidUpdate

Method componentDidUpdate

examples/real-world/src/containers/UserPage.js:33–37  ·  view source on GitHub ↗
(prevProps)

Source from the content-addressed store, hash-verified

31 }
32
33 componentDidUpdate(prevProps) {
34 if (prevProps.login !== this.props.login) {
35 loadData(this.props)
36 }
37 }
38
39 handleLoadMoreClick = () => {
40 this.props.loadStarred(this.props.login, true)

Callers

nothing calls this directly

Calls 1

loadDataFunction · 0.70

Tested by

no test coverage detected