(prevProps)
| 23 | } |
| 24 | |
| 25 | componentDidUpdate(prevProps) { |
| 26 | if (prevProps.tutorialMetadata.markdownLocation !== this.props.tutorialMetadata.markdownLocation) { |
| 27 | this.stitchMarkdownSource(this.props); |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | stitchMarkdownSource({ tutorialMetadata }) { |
| 32 | FileReader.readFile(`${tutorialMetadata.markdownLocation}`) |
nothing calls this directly
no test coverage detected