Skip to content

Conversation

@congwenma
Copy link

@congwenma congwenma commented May 9, 2020

This addresses the problem that whenever you use forFeature you must explicitly add an initialState

StoreModule.forFeature('cars', carReducer, {
  metaReducers,
  // This was implicitly required
  initialState: carInitialState 
})

Should fix:

#96
#82

@ernestomancebo @btroncone @bufke Thoughts?

@BBlackwo BBlackwo added feature stores Functionality related to feature stores / modules known workaround There is a known workaround for this issue labels Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature stores Functionality related to feature stores / modules known workaround There is a known workaround for this issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants