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

StoreChunk Slices do not work for multiple slices. #89

Open
SoftwareWizard opened this issue Dec 26, 2022 · 0 comments
Open

StoreChunk Slices do not work for multiple slices. #89

SoftwareWizard opened this issue Dec 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SoftwareWizard
Copy link

Using 2 StoreChunks with the same FeatureKey and different slices,
leads to unexpected behaviour.

The State of each Slice is correctly initialized when its corresponding facade is getting injected in a component.
But only one slice at the same time.
When another Facade with the same featureKey but another Slice is getting injected in a component,
than the previous Slice is getting removed and all the States of it.

Expected Behavoir:
All Slices within the Chunk of the same FeatureKey should be available at the same time.

The original version with @StoreFacade (that is depricated now) worked fine for different slices,
but needed manual registration of Reducers.

@GregOnNet GregOnNet self-assigned this Jan 13, 2023
@GregOnNet GregOnNet added the bug Something isn't working label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants