egghead.io_idiomatic_redux_course_notes icon indicating copy to clipboard operation
egghead.io_idiomatic_redux_course_notes copied to clipboard

Notes from Dan Abramov's Idiomatic Redux course on egghead.io

Results 7 egghead.io_idiomatic_redux_course_notes issues
Sort by recently updated
recently updated
newest added

08-Using_withRouter_to_Inject_the_Params_into_Connected_Components.md ## `VisibleTodoList.js` After (react-router v4.0.0 or superior) ```javascript const mapStateToProps = (state, withRouterParams) => ({ todos: getVisibleTodos( state.todos, withRouterParams.match.params.filter || 'all'), }); ```

for new versions of react-router to run.

There appears to have been a large refactoring of the code between the last lesson of part 1 and the start of part 2. Everything has been split out into...

In 26. Normalizing API Responses with normalizer The byId Reducer goes from ```const byId = (state = {}, action) => { switch (action.type) { case 'FETCH_TODOS_SUCCESS': // eslint-disable-line no-case-declarations const...

did you ever run into an issue with { params } in VisibleTodoList.js? ``` const mapStateToProps = (state, { params }) => { console.log('{ params }', { params }); console.log('params',...