(prevProps)
| 143 | } |
| 144 | |
| 145 | getSnapshotBeforeUpdate(prevProps) { |
| 146 | const prevParent = getParentElement(prevProps.parentSelector); |
| 147 | const nextParent = getParentElement(this.props.parentSelector); |
| 148 | return { prevParent, nextParent }; |
| 149 | } |
| 150 | |
| 151 | componentDidUpdate(prevProps, _, snapshot) { |
| 152 | if (!canUseDOM) return; |
nothing calls this directly
no test coverage detected