Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/reactjs/react-transition-group
/ add
Method
add
src/utils/SimpleSet.js:11–14 ·
view source on GitHub ↗
(k)
Source
from the content-addressed store, hash-verified
9
return
this.v.indexOf(k) !== -1;
10
}
11
add(k) {
12
if
(this.has(k))
return
;
13
this.v.push(k);
14
}
15
delete(k) {
16
const
idx = this.v.indexOf(k);
17
if
(idx === -1)
return
false;
Callers
3
Transition.js
File · 0.80
CSSTransition.js
File · 0.80
TransitionGroup.js
File · 0.80
Calls
1
has
Method · 0.95
Tested by
no test coverage detected