Closed cotko closed 6 years ago
Hi,
you specified that items should be an array but since this is a mobx related module, it would probably make sense that observable lists can be passed as items as well (I'm currently getting error notices because of this)?
static propTypes = { items: PropTypes.oneOfType([ PropTypes.array, PropTypes.object ]).isRequired, itemHeight: PropTypes.number.isRequired, itemBuffer: PropTypes.number, };
https://mobx.js.org/best/pitfalls.html
closing because of https://github.com/developerdizzle/react-virtual-list/issues/45
Hi,
you specified that items should be an array but since this is a mobx related module, it would probably make sense that observable lists can be passed as items as well (I'm currently getting error notices because of this)?
https://mobx.js.org/best/pitfalls.html