@timdorr
@gaearon
https://github.com/reactjs/redux/blob/gh-pages/docs/basics/ExampleTodoList.md

default moduleindex.jsx/index.js
import todoApp from './reducers'; === import todoApp from './reducers/index';
export {todoApp}; & import {todoApp} from './reducers';
export default todoApp; & import todoApp from './reducers';
; symbolbad codes reading & bad codes formatting
const getVisibleTodos = (todos, filter) => {
switch (filter) {
case 'SHOW_ALL':
return todos;
case 'SHOW_COMPLETED':
return todos.filter(t => t.completed);
case 'SHOW_ACTIVE':
return todos.filter(t => !t.completed);
}
};
default case! default:
return todos;
https://facebook.github.io/react/docs/typechecking-with-proptypes.html
import PropTypes from 'prop-types';
I'm sorry, I'm very confused at what you're trying to say here. You've pasted a bunch of screenshots, but it's not clear what specific problems you're trying to report.
I realize that English might not be your first language, but could you please explain in more detail what specific problems you're reporting?
Maybe we have outdated code somewhere that causes lint issues with CRA?
Actually, what I mean is that maybe you should update your demo codes to keep up with REACT and writing codes in a better , easy reading way!
@xgqfrms-GitHub Please submit separate issues for each unrelated problem you encounter, with adequate description of the problem. Piling them all into one issue makes discussion and resolution tracking difficult. It is also unnecessary and poor etiquette to tag repository owners in the initial post.
All right, have good luck!
Most helpful comment
update
default moduleimport todoApp from './reducers';===import todoApp from './reducers/index';export {todoApp};&import {todoApp} from './reducers';export default todoApp;&import todoApp from './reducers';