A walkthrough on how axios works by creating a simplified yet fully functional axios-like framework Yaxios. Hopefully this could help get a better understanding on how Axios works. Only XMLHTTPRequest implemented at present.
基于Axios简化版源码Yaxios,包含Axios的所有基础功能,可用于学习Axios的设计**。(实例创建流程,请求发送流程,拦截器的创建以及生命周期等)