- action
- reducer
- store
- middleware
- presentational/container component
- forgot to export component class when defines component
- incorrectly using arrow function resulted in the
state
being updated unexpectedly, for example
[1,2,3].map(item => item * 2);
vs
[1,2,3].map(item => {
item * 2;
});
- how to design state tree
- how to design component hierarchy
- design presentational components
- design container components
- design other components
- Is it reasonable that
component
andcontainer
contains each other? e.g.Footer
containsFilterLink
, whileVisibleTodoList
containsTodoList
.