Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gaearon/react-hot-loader
/ getAnswer
Method
getAnswer
test/proxy/static-method.test.js:10–12 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
modern: {
9
StaticMethod:
class
StaticMethod extends React.Component {
10
static getAnswer() {
11
return
42;
12
}
13
14
render() {
15
return
<div>{this.constructor.getAnswer()}</div>;
Callers
5
render
Method · 0.45
render
Method · 0.45
render
Method · 0.45
static-method.test.js
File · 0.45
render
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected