MCPcopy Create free account
hub / github.com/ptmt/react-native-macos / render

Method render

Libraries/Experimental/IncrementalExample.js:52–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 };
51 }
52 render() {
53 this.state.timeToMount === 0 && burnCPU(20);
54 return (
55 <View style={styles.widgetContainer}>
56 <Text style={styles.widgetText}>
57 {`${this.state.timeToMount || '?'} ms`}
58 </Text>
59 </View>
60 );
61 }
62 componentDidMount() {
63 const timeToMount = performanceNow() - this.state.ctorTimestamp;
64 this.setState({timeToMount});

Callers

nothing calls this directly

Calls 1

burnCPUFunction · 0.85

Tested by

no test coverage detected