Skip to content
New issue

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

「评论」深入koa源码:核心库原理 #137

Open
dongyuanxin opened this issue Jun 21, 2019 · 2 comments
Open

「评论」深入koa源码:核心库原理 #137

dongyuanxin opened this issue Jun 21, 2019 · 2 comments

Comments

@dongyuanxin
Copy link
Owner

深入koa源码:核心库原理:https://xin-tan.com/passages/2019-06-21-deep-in-koa/

@theniceangel
Copy link

fns 其实就是 dispatch(0)

这一块理解应该是错误的,fns 是 compose 内部的那个匿名函数。 fns() 才应该是 dispatch(0)

@dongyuanxin
Copy link
Owner Author

谢谢提醒,这里确实没表达清楚,已经更正。

@theniceangel

这一块理解应该是错误的,fns 是 compose 内部的那个匿名函数。 fns() 才应该是 dispatch(0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants