Skip to content

Releases: cooperka/react-native-immutable-list-view

v0.6.2

02 Aug 17:37
Compare
Choose a tag to compare

Changed

  • Significantly improved the example app
    • With buttons for default/loading/error states

Fixed

  • Automatically update the list data to make sure EmptyListView always re-renders if the emptyText or other related props change
    • Previously if you changed emptyText twice in a row, the second change wouldn't be reflected because RN's ListView didn't refresh itself
  • Fixed an error when rendering EmptyListView with section headers in the last release

v0.6.1

01 Aug 19:11
Compare
Choose a tag to compare

Added

v0.6.0

01 Aug 04:37
Compare
Choose a tag to compare

Added

  • Added a renderEmpty prop for ImmutableVirtualizedList
  • Added an EmptyVirtualizedList component
  • Accept plain strings for renderEmpty

Changed

  • Default all renderEmpty props to 'No data.' (previously was undefined)

v0.5.2

27 Jul 05:37
Compare
Choose a tag to compare

Changed

  • Migrated to prop-types library instead of deprecated React.PropTypes

v0.5.1

03 Jul 05:17
Compare
Choose a tag to compare

Fixed

  • Fixed renderEmpty for Maps with empty sections (#27)
  • Fixed Iterable.length warnings when rendering a list with 0 items (#26)
  • Fixed installing the example app using yarn install. Yarn for some reason copies in node_modules when installing locally, which caused all sorts of issues running unit tests and the example app.

Changed

  • Cleaned up the README a bit

v0.5.0

03 Jul 02:35
Compare
Choose a tag to compare

Added

  • Added getters for ListView and VirtualizedList refs (#24)

Changed

  • (BREAKING) Started using the actual VirtualizedList included with react-native, rather than the downloaded one
  • (BREAKING) Exported ImmutableVirtualizedList directly now that it's stable
    • New format is explained in the README

v0.4.5

27 Apr 13:38
Compare
Choose a tag to compare

Changed

  • Also accept React version >=16.0.0-alpha.6
    • To prevent annoying warnings during npm install

v0.4.4

27 Apr 13:37
Compare
Choose a tag to compare

Changed

  • Default to removeClippedSubviews={false} for ListView props

Fixed

  • Added the new FillRateHelper component to the download-flatlist script

v0.4.3

28 Mar 01:34
Compare
Choose a tag to compare

Changed

  • Updated download-flatlist.sh with the new file locations within React Native's repo
  • Use new location to import VirtualizedList
    • This may be breaking for any user who doesn't run download-flatlist as part of their build scripts

v0.4.2

18 Mar 18:27
Compare
Choose a tag to compare

Added

  • Now passes through ListView methods: scrollTo, scrollToEnd, getMetrics
  • Now passes through VirtualizedList methods: scrollToEnd, scrollToIndex, scrollToItem, scrollToOffset, recordInteraction