Skip to content

Releases: geoffdavis92/react-floodgate

1.0.0

18 Aug 21:35
Compare
Choose a tag to compare

🎉 react-floodgate hits v1.0.0 🎉

Package

  • Updated react, react-dom versions so Floodgate can leverage hooks in the future (a021b5f)

Maintenance

  • Replaced instances of saveState to exportState to better and more consistently describe props' and methods' purposes (5c0b7bd, e389adc)
    • Breaking changes

Testing

  • Updated tests based on changes to the saveState methods and props (9044a70)

0.6.1

29 Jul 00:13
Compare
Choose a tag to compare

Bugfix

  • Removed unnecessary Floodgate.data class property which was causing bugs in instances that accepted data loaded asynchronously from parent (#47, 329f728)

0.6.0

30 Jun 21:04
Compare
Choose a tag to compare

Package

Maintenance

  • Floodgate now supports using the Context API by wrapping the render prop function in a Context.Provider (63ff574)
  • Provide FloodgateContext as named export (667345e)

0.5.7

26 Jan 22:54
Compare
Choose a tag to compare

Bugfix

  • Fixed Floodgate#loadAll not updating Floodgate.state.currentIndex (#41, a4ac5b1)
  • Fixed Floodgate#reset to allow custom initial value so loading all items, then calling Floodgate.props.exportState doesn't lock component to fully-loaded items state (#40, a4ac5b1)

0.5.6

05 Jan 23:36
Compare
Choose a tag to compare

Package

  • Updated package description and keywords to be more descriptive and search-optimized; released at 0.5.3 (9faf1e2)

Bugfix

  • Fixed bug where existing functionality did not allow a parent component to control Floodgate using its state in Floodgate props; released at 0.5.4 (#35, #37, 084fc5b)

Maintenance

0.5.2

05 Dec 03:00
Compare
Choose a tag to compare

Bugfix

0.5.1

03 Dec 05:41
Compare
Choose a tag to compare

Features

  • Added ability to export state to a parent component on componentWillUnmount via the exportState prop on a Floodgate instance (#17, f7fdb4e)
  • Added event callbacks to fire when loadNext and reset are called, and when loadComplete equals true (#27, #30, e2f5a4b)

Maintenance

  • Refactored loadNext to be more readable, mitigate chances of buggy behavior (#26, 1855ec6)