You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce standalone APIs for registering the Store and pieces of state for the @ngrx/store package. This should allow developers to use Store in a "module-free" application.
Based on the discussion in #3399 we are looking at adding two new functions
provideStore(reducerMap, rootConfig) - Registers the root-level providers for the global Store, and initial setup provideState(reducerMap, featureConfig) - Registers additional features in the global Store
Also under consideration of whether we should separate the runtime checks from the provideStore() function so they can be tree-shaken in production builds
Information
Introduce standalone APIs for registering the Store and pieces of state for the
@ngrx/store
package. This should allow developers to use Store in a "module-free" application.Based on the discussion in #3399 we are looking at adding two new functions
provideStore(reducerMap, rootConfig)
- Registers the root-level providers for the global Store, and initial setupprovideState(reducerMap, featureConfig)
- Registers additional features in the global StoreAlso under consideration of whether we should separate the runtime checks from the
provideStore()
function so they can be tree-shaken in production buildsRelated discussion: #3399
Describe any alternatives/workarounds you're currently using
Using
importProvidersFrom
function:I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: