Releases: geoffdavis92/react-floodgate
Releases · geoffdavis92/react-floodgate
1.0.0
🎉 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)
Testing
- Updated tests based on changes to the
saveState
methods and props (9044a70)
0.6.1
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
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
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
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.1
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)