mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
12 lines
331 B
JavaScript
12 lines
331 B
JavaScript
class C extends React.Component { // $ threatModelSource=view-component-input
|
|
static getDerivedStateFromProps(props, state) {
|
|
return {};
|
|
}
|
|
shouldComponentUpdate(nextProps, nextState) {
|
|
return true;
|
|
}
|
|
getSnapshotBeforeUpdate(prevProps, prevState) {
|
|
return {};
|
|
}
|
|
} // $ reactComponent
|