Skip to content

Conversation

@evpozdniakov
Copy link

Homework 3

Lazy loading works, but I haven't used saga, nor immutable.
Will try to fix and send one more pull request later.

TY!

@evpozdniakov
Copy link
Author

I've figured out sagas and immutable.

this.props.fetchUpTo(stopIndex, resolve)
})
},
rowCount: 596,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Хардкодить плохо)


const props = {
isRowLoaded: index => index < loadedEventCount,
loadMoreRows: ({stopIndex}) => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Интересное решение, но не очень хорошо с архитектурной точки зрения - завязываешь компонент на стор напрямую по сути

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants