MCPcopy Index your code
hub / github.com/tyroprogrammer/learn-react-app / componentDidUpdate

Method componentDidUpdate

src/setup/Solution.jsx:20–24  ·  view source on GitHub ↗
(prevProps)

Source from the content-addressed store, hash-verified

18 }
19
20 componentDidUpdate(prevProps){
21 if (prevProps.location !== this.props.location){
22 this.loadSolution();
23 }
24 }
25
26 componentDidMount(){
27 this.loadSolution();

Callers

nothing calls this directly

Calls 1

loadSolutionMethod · 0.95

Tested by

no test coverage detected