dcurletti/redux-infinite-scroll

Usage with Immutable js

Closed this issue · 2 comments

Is library supposed to work with Immutable js types?

As I see in ReduxInfiniteScroll.jsx file, proptype checking for Immutable types is commented. While _totalItemsSize functions still checks for size of immutable types, which in my case caused some problems, when using library with native Javascript arrays.

Hi @shotaK , yes the library works with Immutable js. I only commented out the proptype checks.

I'm going to close for now, but feel free to ask more questions.