|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/redux-saga/
课程评论:没有评论
**课程名称:** Redux Saga with React: Redux Saga 入门快车道课程 **课程概述:** 本课程旨在帮助您快速掌握 Redux Saga,提升作为 React 或前端 Web 开发者的能力和价值。Redux Saga 是一个强大的框架,用于管理应用程序的副作用,如数据抓取和 API调用。 **课程亮点:** * **新增 Redux Saga 速查表:** 提供包含实际用例的速查表,帮助您理解和运用各种 Saga 关键字和效果。 * **深入讲解:** * Redux Saga 如何融入 React 和 Redux 的前端单页应用架构。 * Redux Saga 的核心概念和模式,包括 `take`, `takeEvery`, `takeLatest`, `fork`, `put`, `call` 以及阻塞与非阻塞调用。 * 如何查询 API 并处理响应。 * 如何设置 Redux Saga 来监听 Redux Actions,以及多种监听方式。 * 如何从 Redux Saga 中 dispatch Redux Actions,并更新 Redux 应用状态。 * JavaScript ES6 语法和 Generator 函数的介绍。 * **实用性强:** 课程专注于 Redux Saga 的实际应用,通过示例展示如何有效地分离 API 调用和 Redux 状态更新逻辑。 * **与 React/Redux 的关系:** 课程中包含关于 React 组件和 Redux action/reducer 的讲解,但这些内容仅为展示在真实应用中集成 Redux Saga 的思路,不提供深入的 React/Redux 指导。**学习者假设已具备 React 和 Redux 的基本知识。** * **对比优势:** 课程将 Redux Saga 与 Redux Thunk 进行对比,阐述 Redux Saga 在控制性、灵活性和错误处理方面的优势。 **学习目标:** * 理解 Redux Saga 在前端应用中的作用。 * 掌握使用 Redux Saga 进行 API 数据抓取和状态管理。 * 学会配置和使用 Redux Saga 的各种核心功能。 * 能够自信地将 Redux Saga 应用于未来的项目开发。 **学员评价:** 课程获得了学员的高度评价,普遍认为课程内容清晰、简洁,且专注 Redux Saga 本身,帮助他们快速理解和应用该技术,甚至成功将项目中的 Redux Thunk 替换为 Redux Saga,从而优化了代码。 **前提知识:** React 和 Redux 的基础知识。
** Course Updates **Redux Saga Cheat Sheet - a new Redux Saga Cheat Sheet with example use cases has been included as part of the course so you know what keywords or saga effects to use, and when to use them.Error handling within redux sagas.Do you want to greatly improve your ability and increase your value as a React or front end web developer? Redux Saga is the perfect framework for this, and this fast-track redux saga course will help you achieve that!Please note: that while this course contains lectures on writing redux actions / reducers and React components, these lectures are there for the sole purpose of seeing the thought process behind implementing Redux Saga in a real-world app. The lectures that cover coding Redux actions / reducers and React components offer minimal guidance as it's assumed you already have basic knowledge of these frameworks. This is a course on Redux Saga and not on Redux or React.Redux saga is a library that aims to make application side effects, like data fetching / calling an API, easier to manage, more efficient to execute, and better at handling failures.Redux saga is an impressively clean way to separate logic to call API endpoints and update your redux state based on redux actions. The redux saga library's sagas are implemented as Generator functions that yield objects to the redux-saga middleware. The yielded objects are a kind of instruction to be interpreted by the middleware. When a Promise is yielded to the middleware, the middleware will suspend the Saga until the Promise completes. Once the Promise is resolved, the middleware will resume the Saga, executing code until the next yield. The control that redux saga brings is way beyond any other libraries, such as redux thunk. You have full control of how redux sagas are called, when they're called, and the type of work they do, as well as how they influence the redux store.In this fast-track introductory course, you will learn:How redux saga fits in to a front end single page application, using React and Redux.What redux sagas are.How to query an API with redux saga - and deal with the response.How to set up a redux saga to listen for dispatched redux actions and the various ways to set up redux saga to listen for dispatched actions.Actually dispatch redux actions from a redux saga and update your redux application state.Learn key redux saga concepts and patterns such as take, takeEvery, takeLatest, fork, put, call as well as blocking and non-blocking calls.Learn some ES6 syntax and learn about Generator functions in Javascript.You might've used redux-thunk before to handle your data fetching - after taking this course I'm confident you'll switch to using Redux Saga for your future projects!What other students are saying about this course:5/5 stars - "i found the course to be great.. I'm building an application at work which was using Redux-thunk and using what Tom has taught in the course I have remove Redux-Thunk in favour of Redux-Saga and clean up a lot of code. Another reason i like this course as it was only about Redux-Saga. I didn't have watch 5hrs of React & Redux just to get to the part about Redux-Sagas. It was only an afternoon watching and following along and now I feel that I understand Redux-Saga enough to actually use it in a application and know what I'm doing Thanks Tom" - Stefen Hasselberg5/5 stars - "This course is exactly what I needed. I hadn't used redux saga before and recently inherited a project that uses it and found it difficult to understand what was going on. This course has helped me a lot in understanding the basics of redux saga - the lecture on javascript generators and the cheat sheet is super helpful - especially the examples in the cheat sheet of when to use certain effects. Overall a great introduction to redux saga. Thanks Tom!" - Carol Emma5/5 stars - "So far, very clear and concise explanations with a nice initial overview of the redux-saga process. Look forward to the rest of this course." - Douglas Hanson5/5 stars - "Great starting point for learning redux-saga from scratch. Haven't finished yet, but so far I'm convinced I'll be using saga for future projects. I'm now almost at the end of this abbreviated course, and I'd recommend for everyone who uses Redux by far. It's very well done." - Steve Bailey