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

Function generateNoticeKey

component/NoticeCenter.js:8–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6let __key = 0
7
8const generateNoticeKey = () => {
9 let str = `notice_${__key}`
10 __key += 1
11 return str
12}
13
14const NoticeCenter = React.createClass({
15 getInitialState() {

Callers 1

addNoticeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…