Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged containers' loading behavior #161

Open
Floriferous opened this issue Mar 22, 2017 · 0 comments
Open

Merged containers' loading behavior #161

Floriferous opened this issue Mar 22, 2017 · 0 comments

Comments

@Floriferous
Copy link

When merging multiple composers, I'd expect the loading component to start appearing when going through the first composer, and end when all the data has arrived, is this how it is handled? Also, would the component, if provided, animate continuously ?

To illustrate, what is the difference, if any, between these 3 approaches:

export default merge(
    compose(dataLoader1),
    compose(dataLoader2),
    compose(dataLoader3, optionsWithLoadingComponent),
)(UIComponent);
export default merge(
    compose(dataLoader1, optionsWithLoadingComponent),
    compose(dataLoader2),
    compose(dataLoader3),
)(UIComponent);
export default merge(
    compose(dataLoader1, optionsWithLoadingComponent),
    compose(dataLoader2, optionsWithLoadingComponent),
    compose(dataLoader3, optionsWithLoadingComponent),
)(UIComponent);
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

No branches or pull requests

1 participant