Random in redux
Joshua Ohlman
11

Yeah, that could actually work. Because the seed is passed in, the output _should_ be predictable.

The other approach is to generate anything random in the action creator itself, and include that in the action.

You may want to look at https://daveceddia.com/random-numbers-in-redux/ for another discussion of this topic.

Show your support

Clapping shows how much you appreciated Mark Erikson’s story.