(props)
| 109 | } |
| 110 | |
| 111 | constructor(props) { |
| 112 | super(props); |
| 113 | this.state = constrain(props, { |
| 114 | itemsPerRow: 1, |
| 115 | from: props.initialIndex, |
| 116 | size: 0 |
| 117 | }); |
| 118 | this.cache = {}; |
| 119 | this.cachedScrollPosition = null; |
| 120 | this.prevPrevState = {}; |
| 121 | this.unstable = false; |
| 122 | this.updateCounter = 0; |
| 123 | } |
| 124 | |
| 125 | componentDidMount() { |
| 126 | this.updateFrameAndClearCache = this.updateFrameAndClearCache.bind(this); |
nothing calls this directly
no test coverage detected