Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

217
Views
NGRX : createReducer is hitting even the action is not called

My reducer function is in a feature module. When I try to lazy load another module as a child to this feature module, the reducer function gets triggered.

export const sessionReducer = createReducer( initialSessionState, on(SessionActions.loadSessionDetails, (state, request) => { debugger; return ({ ...state, loading: true, error: '', request: request })
}), );

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

That's probably because the action SessionActions.loadSessionDetails is dispatched somewhere in the application. An action is send to all reducers, so if that feature module is loaded, it receives actions from other features.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!