We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
不要过分纠结 发布/订阅模式 和 观察者模式 的区别,这两个模式是非常相似的,也有不少文章将这两个模式统称为观察者模式,大家可以通过 exercise17 感受一下
发布/订阅模式
观察者模式
了解 callback hell 是如何产生的,以及 Promise + async/await 为什么能避免回调地狱
callback hell
Promise + async/await
思考一下:如何实现 callback 和 promise 的互相转换
callback
promise
Generator + function*
RxJS
The text was updated successfully, but these errors were encountered:
适配器模式
http.js
xhr.js
Sorry, something went wrong.
No branches or pull requests
设计模式
事件模型、事件处理机制
事件代理和委托
AJAX & fetch
异步流程控制
callback
Promise + async/await
callbackify & promisify
扩展知识,了解即可
The text was updated successfully, but these errors were encountered: