Naming conventions
What | Format | Example |
---|---|---|
Component | MyComponentName |
Button, LoginModal |
Action Type | [VERB]_[NOUN] |
TOGGLE_TODO |
Action Creator | [verb][Noun] |
toggleTodo |
Reducer | set[PathToStateKey] |
setTodosFilter |
Selector | get/is[PathToStateKey] |
getTodosById, isTodoCompleted |
Story | [Feature]Stories |
TodoStories |