- 🐛 Added Flow annotations to memoized methods to avoid a Flow warning for newer versions of Flow
- 🐛 Relaxed
childrenvalidation checks. They were too strict and didn't support new React APIs likememo.
- 🐛 Improved Flow types for class component item renderers - (nicholas-l - #77)
- 🎉 Improved Flow types to include optional
itemDataparameter. (TrySound - #66) - 🐛
VariableSizeListandVariableSizeGridno longer call size getter functions with invalid index when item count is zero.
- 🎉 Flow types added to NPM package. (TrySound - #40)
- 🎉 Relaxed grid
scrollTomethod to makescrollLeftandscrollTopparams optional (so you can only update one axis if desired). - #63) - 🐛 Fixed invalid
thispointer inVariableSizeGridthat broke theresetAfter*methods - #58) - Upgraded to babel 7 and used shared runtime helpers to reduce package size slightly. (TrySound - #48)
- Remove
overflow:hiddenfrom inner container (souporserious - #56)
- 🐛 Fixed edge case
scrollToItembug that caused lists/grids with very few items to have negative scroll offsets.
- 🐛
FixedSizeGridandFixedSizeListautomatically clear style cache when item size props change.
- 🎉 Use explicit
constructorandsuperto generate cleaner component code. (Andarist - #26) - 🎉 Add optional
shouldForceUpdateparam reset-index methods to specifyforceUpdatebehavior. (nihgwu - #32)
- 🐛 Avoid unnecessary scrollbars for lists (e.g. no horizontal scrollbar for a vertical list) unless content requires them.
- 🎉 Enable Babel
annotate-pure-callsoption so that classes compiled by "transform-es2015-classes" are annotated with#__PURE__. This enables UglifyJS to remove them if they are not referenced, improving dead code elimination in application code. (Andarist - #20) - 🎉 Update "rollup-plugin-peer-deps-external" and use new
includeDependenciesflag so that the "memoize-one" dependency does not get inlined into the Rollup bundle. (Andarist - #19) - 🎉 Enable Babel "loose" mode to reduce package size (-8%). (Andarist - #18)
Updated README.md file to remove @alpha tag from NPM installation instructions.
Initial release of library. Includes the following components:
FixedSizeGridFixedSizeListVariableSizeGridVariableSizeList