MCPcopy Index your code
hub / github.com/DesignRevision/shards-dashboard-react / componentDidMount

Method componentDidMount

src/withTracker.js:23–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 // eslint-disable-next-line
22 const HOC = class extends Component {
23 componentDidMount() {
24 // eslint-disable-next-line
25 const page = this.props.location.pathname + this.props.location.search;
26 trackPage(`${BASENAME}${page}`);
27 }
28
29 componentDidUpdate(prevProps) {
30 const currentPage =

Callers

nothing calls this directly

Calls 1

trackPageFunction · 0.85

Tested by

no test coverage detected