1.

What are the things which we should never do inside a reducer?

Answer»

The things which we should never do inside a reducer are as follows:

  • MODIFY the argument of the reducer
  • We should assure that we do not perform any SIDE operations such as routing TRANSITIONS, API calls, etc.
  • We should not CALL non-pure functions, for instance Date.now(), Math.random(), etc.


Discussion

No Comment Found