Configurable and flexible "load more" component for React
v1.0.0
🎉react
, react-dom
versions so Floodgate can leverage hooks in the future (a021b5f)saveState
to exportState
to better and more consistently describe props' and methods' purposes (5c0b7bd, e389adc)
saveState
methods and props (9044a70)react
, react-dom
versions so Floodgate can leverage the Context API (#21, #22, a49e704)Context.Provider
(63ff574)FloodgateContext
as named export (667345e)componentWillUnmount
via the exportState
prop on a Floodgate instance (#17, f7fdb4e)loadNext
and reset
are called, and when loadComplete
equals true
(#27, #30, e2f5a4b)loadNext
to be more readable, mitigate chances of buggy behavior (#26, 1855ec6)