Preliminary performance optimization of webpack

Performance optimization of development environment Optimize packaging build speed (HMR) HMR:hot module Replacement hot module replacement: when one module changes, only the changed modules will be repackaged, not all modules, to improve the construction speed 1. The style file can use the HMR funct ...

Posted on Wed, 24 Jun 2020 02:50:40 -0400 by ConnorSBB

. NET Core Options

ASP.NET The core introduces the Options mode, which uses classes to represent related setting groups. To put it simply, a strongly typed class is used to express configuration items, which brings many benefits. The dependency injection of the system is utilized, and the configuration system can also be utilized. It allows us to directly use a ...

Posted on Sun, 21 Jun 2020 04:55:16 -0400 by urb

Gulp compresses html, css, js file processes, listens to tasks, creates servers with gulp, runs multiple tasks at the same time, and reverses agents

1, Initialization First, do a project initialization to record the tools used in your project Open a console under your project file, and enter the command yarn init -y to initialize   Enter the command yarn add gulp-g --- global installation of gulp. Here I will not show it if I have already installed it in advance. Then enter the comman ...

Posted on Tue, 16 Jun 2020 22:14:55 -0400 by Anarchatos

Great Webpack HMR Learning Guide with Source Analysis

Learning time: 2020.06.14Learning Chapters: Webpack HMR Principle Analysis 1. Introduction to HMR Hot Module Replacement (hereinafter referred to as Hot Replacement for HMR modules) is a very useful feature provided by Webpack that allows various modules to be updated while JavaScript is running without having to refresh completely. Hot Module ...

Posted on Tue, 16 Jun 2020 12:15:01 -0400 by YourNameHere

Automatic construction of Grunt Gulp FIS

1. Initial experience of automation construction Yarn init New scss/main.scss yarn add sass --dev Use the command to compile SCSS into CSS. / node_ modules/.bin/sass scss/ main.scss css/ style.css Every time you compile scss into css, you will return to execute the same command. Here is the need ...

Posted on Sun, 14 Jun 2020 03:36:01 -0400 by sp0rk

Which is better, activiti or jbpm

In the development of common ERP system and OA system, Workflow engine Is an essential tool. Before, there was a comparison between activiti and jbpm when selecting workflow engine. At that time, the decision was to use jbpm, but it was found that this choice was not appropriate in the actual development process. At present, we choose activiti ...

Posted on Tue, 17 Mar 2020 06:33:51 -0400 by bdichiara

iOS Reads runtime Basics

Catalog Preface What is runtime Three key concepts A data structure for each primary object 1 objc_object 2 objc_class 2.1 cache_t 2.2 class_data_bits_t 3 isa 4 method_t Four Elements of 4.1 Function 4.2 types Five charts showing relationships between data structures Two-instance object, class ...

Posted on Thu, 05 Mar 2020 22:04:57 -0500 by rofl90

Tornado FX learning notes -- common code snippets

Tornadofx is a kotlin implementation framework based on JavaFx After that, it depends on the situation 1. Read the files in the resources folder Pictured There are two ways to read the config.properties file In the class file, you can write as follows //Get input stream val resourceAsStream = javaClass.classLoader.getResourceAsStream("config.pr ...

Posted on Sun, 19 Jan 2020 22:07:52 -0500 by mr_hacker

PushNotificationIOS Integration Guide

PushNotificationIOS Contributor of this document: sunnylqm(100.00%) Projects with Native Code Only This section only applies to projects made with react-native init or to those made with Create React Native App which have since ejected. For more information about ejecting, please see the guide on the Create React Native App ...

Posted on Tue, 17 Dec 2019 11:35:39 -0500 by kusarigama

Source file PF4J cannot be deleted after class uninstallation

background We have a Plugin management system that enables hot loading of Jar packages based on a Plugin management class library PF4J , similar to OSGI, is now a thousand Star project on GitHub. The following is an official description of the library > A plugin is a way for a third party to extend the functionality of an application. A plug ...

Posted on Wed, 11 Dec 2019 21:51:30 -0500 by gateway69