Skip to content

fix(all): lazy loaded environments do not load extra reducers - #4686

Open
griest024 wants to merge 1 commit into
developfrom
fix/all/lazy-loaded-reducers
Open

fix(all): lazy loaded environments do not load extra reducers#4686
griest024 wants to merge 1 commit into
developfrom
fix/all/lazy-loaded-reducers

Conversation

@griest024

@griest024 griest024 commented Aug 25, 2026

Copy link
Copy Markdown
Member

PR Checklist

  • Commit message follows our contributing guidelines
  • Tests added/updated (for bug fixes/features)
  • Documentation added/updated (for bug fixes/features)

PR Type

  • Bug fix
  • Feature
  • Style update
  • Refactor
  • Test
  • Build
  • CI
  • Docs
  • Performance
  • Other (please describe)

Current behavior

Loading one of the affected state module in a lazy loaded environment (such as a route) would result in the extra reducers not being loaded.

New behavior

The extra reducers are correctly loaded in lazy envs. This is accomplished by moving the factory that combines the extra reducers with the package's own reducers out of the token declaration and into the state module.

Breaking change?

  • Yes
  • No

Additional context

the change in each package is identical which is why they're all grouped together into a single PR

@griest024
griest024 requested a review from a team as a code owner August 25, 2026 23:03
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

Successfully merging this pull request may close these issues.

1 participant