facebookarchive / fixed-data-table

A React table component designed to allow presenting thousands of rows of data.
http://facebook.github.io/fixed-data-table/
Other
4.3k stars 553 forks source link

Basic Example not working #500

Open ghost opened 7 years ago

ghost commented 7 years ago

It's not clear where the Basic Example code goes. I made a new app with create-react-app and put the example in my src/App.js but I'm getting lots of errors:

_registerComponent(...): Target container is not a DOM element. Object../src/App.js 14 | ]; 15 | 16 | // Render your table

17 | ReactDOM.render( 18 | <Table 19 | rowHeight={50} 20 | rowsCount={rows.length}