Skip to content
loading...

Redux and duplicate actions

twitter logo github logo ・1 min read  

Hi all,

A scenario I've found myself come across during scaling of React apps using Redux is scenarios where common actions within the app can end up firing multiple times.

For example page load actions firing multiple times or a chain of actions that might fire in a kind of A => B => C => A pattern causing A to be duplicated when it potentially doesn't need to.

Such instances generally tend to have no functional impact on the app in question, but I'm curious to know if this is something other developers haver come across and consequently refactored out of the apps they work on, if so, how so?

twitter logo DISCUSS
Classic DEV Post from Jan 24

What was your win this week?

Got to all your meetings on time? Started a new project? Fixed a tricky bug?

Darren Hamilton profile image

Hey there reader...

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❤️