forked from bvaughn/react-virtualized
-
Notifications
You must be signed in to change notification settings - Fork 0
Version 5 Roadmap
Brian Vaughn edited this page Feb 15, 2016
·
23 revisions
This describes my tentative plans for the version 5 roadmap (currently in progress as PR #79). I welcome input from the community so please feel free to comment if you think certain features should (or should not) be included in the next upcoming major release.
- Refactored FlexTable and VirtualScroll to be HOCs that wrap internal Grids.
- Pro: Removes a lot of code duplication between Grid and VirtualScroll.
-
Con: Makes
widtha required attribute for both FlexTable and VirtualScroll. This can be mitigated somewhat using theAutoScrollHOC in width-only mode.
- Change globally exported library name (for use with vanilla
<script>tags) towindow.ReactVirtualizedinstead ofwindow["react-virtualized"](see issue #86). - Remove
horizontalPaddingandverticalPaddingproperties fromFlexTable. These properties are redundant; they can be controlled via the injectedwidthandheight. - Refactor
InfiniteScrollerandAutoSizerto accept function children so as to be more easily composable with each other and new HOCs likeScrollSync. -
AutoSizerno longer accepts aclassNameproperty or uses the global 'AutoSizer' class.
- Add ES6 module and
jsnext:maintarget to enable tree-shaking support. - Update
onScrollproperty to specific total scrollable area (so offsets can be converted into percentages). - Replace
top/leftpositioning withtransform: translate(). - Create
ScrollSyncHOC for synchronizing scrolling between two or more virtualized components.
- HOC to wrap a Grid and convert column width, flex-grow, and flex-shrink properties into concrete numbers.
- This could be used to replace
FlexTableheaders/body.
- Create a HOC that adjusts available width based on whether scrollbars are present in another component (see #80)