Process
In order to use echarts charts in a vue project, the canvas-based echarts cannot change with the window size. In this case, it is necessary to listen for window size changes and dynamically execute the echarts resize method.
In order to use echarts charts in a vue project, the canvas-based echarts cannot change with the window size. In this case, it is necessary to listen for window size changes and dynamically execute the echarts resize method.
Recently, I have been reading JavaScript Basics and ES6 Documentation by Teacher Ruan. I feel it is necessary to organize the content related to asynchronous handling. This will help me gradually improve my programming style and enhance the quality of my code.
Recently, I have been following the blog of Mr. Ruanyifeng, and he is truly an exemplary figure. Writing a blog is not difficult, but what is difficult is to consistently write blogs and maintain a spirit of learning and sharing. Persistence is a challenging thing, and I hope I can keep it up. Now, let's get back to the point. I read a blog post by Mr. Ruanyifeng, which was said to have been criticized (JavaScript Event Loop Explained: Revisiting Event Loop), and I made a summary based on it.