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

Method componentDidUpdate

src/setup/Markdown.jsx:25–29  ·  view source on GitHub ↗
(prevProps)

Source from the content-addressed store, hash-verified

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}`)

Callers

nothing calls this directly

Calls 1

stitchMarkdownSourceMethod · 0.95

Tested by

no test coverage detected