Blog Arolla

Étiquette : front-end

Trying to set up my mind on Redux as an event sourcing system

When starting a project using Redux, developers often wonder after which pattern they should name actions. E.g, considering a counter application: INCREMENT_COUNTER or COUNTER_INCREMENTED? This is certainly not only a question of naming. In fact, it reveals at least 3 entangled questions: Are we speaking of commands or events? Should the action bear a payload?…