https://github.com/bvaughn/react-virtualized/blob/master/docs/creatingAnInfiniteLoadingList.md
How does one incorporate MyComponent
into a React app?
https://github.com/bvaughn/react-virtualized/blob/master/docs/creatingAnInfiniteLoadingList.md
How does one incorporate MyComponent
into a React app?
I think the confusing part is that there is a destructuring performed in a function argument. It's basically a react component - function taking props and returning JSX element. However instead of props
parameter you have props
destructuring so e.g you don't have to type props.abc
but just abc
.
ES 6 feature - more info here: https://simonsmith.io/destructuring-objects-as-function-parameters-in-es6/