MCPcopy Create free account
hub / github.com/curiores/SerialAnalyzer / constructor

Method constructor

src/Components/Monitor.js:34–39  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

32export default class Monitor extends React.Component {
33
34 constructor(props) {
35 super(props)
36 // This chart reference is needed to update the charts
37 this.divRef = React.createRef();
38 this.textRef = React.createRef();
39 };
40
41 updateMonitor() {
42 if (this.textRef !== null && !SerialDataObject.pauseFlag) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected