Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lobos/react-ui
/ componentWillReceiveProps
Method
componentWillReceiveProps
src/Rating.js:26–30 ·
view source on GitHub ↗
(nextProps)
Source
from the content-addressed store, hash-verified
24
}
25
26
componentWillReceiveProps (nextProps) {
27
if
(nextProps.value !== this.props.value) {
28
this.setValue(nextProps.value);
29
}
30
}
31
32
handleHover (value) {
33
this.setState({ hover: value });
Callers
nothing calls this directly
Calls
1
setValue
Method · 0.95
Tested by
no test coverage detected