Initial logs with datasource / datatable setup
Summary: First rudementary setup of DataTable component that follows a data source. Initially used react-virtuose library, but it performed really badly by doing expensive layout shifts and having troublesome scroll handling. Switched to react-virtual library, which is a bit more level, but much more efficient, and the source code is actually understandable :) Features: - hook up to window events of datasource - high and low prio rendering, based on where the change is happening (should be optimized further) - sticky scrolling support - initial column configuration (custom rendering, styling, columns etc will follow in next diffs) Reviewed By: nikoant Differential Revision: D26175665 fbshipit-source-id: 224be13b1b32d35e7e01c1dc4198811e2af31102
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5b76a0c717
commit
86ad413669
@@ -439,6 +439,7 @@ console.log(rows.get().length) // 2
|
||||
```
|
||||
|
||||
### createDataSource
|
||||
### DataSource
|
||||
|
||||
Coming soon.
|
||||
|
||||
@@ -500,6 +501,10 @@ See [Tracked](#tracked) for more info.
|
||||
Layout elements can be used to organize the screen layout.
|
||||
See `View > Flipper Style Guide` inside the Flipper application for more details.
|
||||
|
||||
### DataTable
|
||||
|
||||
Coming soon.
|
||||
|
||||
### NUX
|
||||
|
||||
An element that can be used to provide a New User eXperience: Hints that give a one time introduction to new features to the current user.
|
||||
|
||||
Reference in New Issue
Block a user