Skip to content
RED SAGSkills
medium10 pts · first answer countsreacthooks

dispatch in a dependency array

Should dispatch from useReducer, or a setter from useState, be listed in an effect’s dependencies?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions