Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lucifier129/react-lite
/ getInitialState
Method
getInitialState
__tests__/ReactES6Class-test.js:322–325 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
320
this.propTypes = {};
321
}
322
getInitialState() {
323
getInitialStateWasCalled = true;
324
return
{};
325
}
326
getDefaultProps() {
327
getDefaultPropsWasCalled = true;
328
return
{};
Callers
3
Klass
Function · 0.80
Constructor
Function · 0.80
t
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected