(props, state)
| 104 | }; |
| 105 | |
| 106 | static getDerivedStateFromProps(props, state) { |
| 107 | const newState = constrain(props, state); |
| 108 | return newState === state ? null : newState; |
| 109 | } |
| 110 | |
| 111 | constructor(props) { |
| 112 | super(props); |
nothing calls this directly
no test coverage detected