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

Multiple Feature Binding #115

Open
airatlovesmusic opened this issue Oct 13, 2019 · 1 comment
Open

Multiple Feature Binding #115

airatlovesmusic opened this issue Oct 13, 2019 · 1 comment

Comments

@airatlovesmusic
Copy link

How can I handle multiple Feature to View bindings? Where ViewModels should be merged into one to render in View? Do you have any examples of this?

@ShikaSD
Copy link
Contributor

ShikaSD commented Oct 21, 2019

Hi, @airatlovesmusic
Sorry for a long reply. We usually use combineLatest or withLatestFrom for this type of use cases. However, note that this is not recommended for more than two features, as this tend to complicate logic of binding and transformations.

See #54 for more details.

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

2 participants