Skip to content

Rename reducers as past-tense #114

@andreyponomarevru

Description

@andreyponomarevru

From the Redux doc (in the green box):

we encourage naming reducers as past-tense "this happened" names like postAdded, because we're describing "an event that occurred in the application".

For example:

  • rename addGroup to groupAdded
  • rename destroyGroup to groupDestroyed
  • rename addTrack to trackAdded

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions