Webpack Loader API
Loader is an important concept in Webpack that can help us do what we want when loading certain types of files, such as automatically adding try catch to all JavaScript functions.
Loader is an important concept in Webpack that can help us do what we want when loading certain types of files, such as automatically adding try catch to all JavaScript functions.
This week I just came into contact with a little bit of knowledge about Solace. I checked the official doc for several basic concepts. Here I summarize it, mainly the relationship between Endpoints, Queue, Topic, and Subscription.
Webpack performance improvement plan collection.
In the past few days, I have come into contact with the new concept of PWA when learning webpack, so here is a brief summary of the basic concepts, uses and how to use PWA in combination with webpack and vue.
I encountered several problems in my work this week, all of which are errors reported in the header of the http protocol. They can be roughly divided into three categories, Referrer Policy, Breakpoint Resume, and Range Request. Here I have searched and sorted out a little content and applications.
Today, when I was making up the test, I encountered the problem of not being able to identify the import. After being solved by babel’s dynamic import plugin, I had a little doubt about the keywords that are often used at ordinary times, import, export, exports, and require, so I sorted out. The evolution process and relationship between them.
In the past few days, when watching the webpack teaching video, I had a little doubt about the code separation, so I went to read the official doc, and now I have sorted out the translation of the original document and my understanding of some of the content.
Vue-test-utils is an official test tool built into vue. It can load a vue instance and extract and replace its methods, properties, events, etc.
Once you’re familiar with the Vue framework, it’s easy to look at the vue-test-util tool because many of the concepts are the same.
This blog is based on vue-test-utils, the official doc of vue. It tries to explain the ambiguities in some official docs, and also refers to some blogs. It is mainly used for conceptual understanding and explanation of basic usages.
With the gradual improvement of the development of the Internet system and the improvement of the system’s qps, most of the current systems have increased the caching mechanism to avoid excessive requests and direct database operations, resulting in system bottlenecks, greatly improving User Experience and system stability.
While caching brings performance improvements, it also has some problems.
When IPv4 addresses are not enough, we need to use NAT technology to reduce the consumption of public network IP, so that one local area network on the Internet can consume a public network IP, but the IP address of the device in the local area network is the intranet IP address, which is meaningless for the public network.
So if we develop an application on our own machine and hope that others can access it, what do we need to do?