Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lobos/react-ui
/ shouldComponentUpdate
Method
shouldComponentUpdate
src/Datepicker/index.js:13–15 ·
view source on GitHub ↗
(nextProps)
Source
from the content-addressed store, hash-verified
11
}
12
13
shouldComponentUpdate (nextProps) {
14
return
!shallowEqual(this.props, nextProps);
15
}
16
17
render () {
18
return
(
Callers
nothing calls this directly
Calls
1
shallowEqual
Function · 0.90
Tested by
no test coverage detected