MCPcopy Create free account
hub / github.com/flyfloor/react-component / getInitialState

Function getInitialState

component/NoticeCenter.js:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14const NoticeCenter = React.createClass({
15 getInitialState() {
16 return {
17 notices: []
18 }
19 },
20
21 addNotice(notice){
22 notice.key = generateNoticeKey()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…