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

Method loadSolution

src/setup/Solution.jsx:34–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 }
33
34 loadSolution(){
35 FileReader.readFile(`${this.props.location}`)
36 .then(solutionUsage => {
37 this.setState({ solutionUsage });
38 })
39 }
40
41 render(){
42 if (this.props.location) {

Callers 2

componentDidUpdateMethod · 0.95
componentDidMountMethod · 0.95

Calls 1

readFileMethod · 0.80

Tested by

no test coverage detected