Tencent's technical team arranges the articles of the year, and it's easy to get a thorough introduction to Flutter, making the front end bigger in seconds

Original author: Tencent Technology Original link: https://zhuanlan.zhihu.com/p/90836859 Source: Zhihu This article really introduces the technical features of Flutter in a comprehensive way. If you've heard about Flutter, you want to know about it, but you don't want to read the thick API, then this a ...

Posted on Tue, 14 Jan 2020 02:55:30 -0800 by gilbertwang

vueSSR: building a vueSSR project from 0 to 1 -- pseudo hot update

Pseudo thermal regeneration Previous issue Wrote some questions.The original plan is not to deal with it for the time being, and the final result is that the duck can't bear it today.Don't talk too much, stick ideas first 1. Advanced line local compilation 2. After compiling, use chokidar to listen to source files and compiled files respective ...

Posted on Tue, 03 Dec 2019 19:43:17 -0800 by veridicus

Use of robust framework

Robust is a hot update solution developed by the delegation. It is a new framework based on Instant Run principle. Compared to Tinker, which changes the loading order of DexElements only by restarting, robust achieves the real-time effect of code modification (hot-plug).Here's how Robust works. 1. Add Dependency Add dependencies to build.gralde ...

Posted on Sun, 24 Nov 2019 01:13:56 -0800 by wikstov

Several important views of PostgreSQL statistics

1,pg_stat_database yzs=# select *from pg_stat_database; -[ RECORD 1 ]--+------------------------------ datid | 13156 #oid of database datname | postgres #Database name numbackends | 0 #Number of connections accessing the current database xact_c ...

Posted on Mon, 18 Nov 2019 10:32:53 -0800 by ihsreal

Hand-on instructions on how to implement the hot update feature, which will take you to understand the principles behind the hot update for Arthas

Source of article: https://studyidea.cn/java-hotswap 1. Preface One afternoon while fishing, Miss Test came over to ask for help and said she needed to change the test environment for the mock app.But the application won't find the source code for a while.However, there is still some work to do to test Miss. It suddenly reminds me that Artha ...

Posted on Sun, 17 Nov 2019 17:46:04 -0800 by padiwak

After Tencent, there are big guys updating Flutter hot spots

Author: Brother Preface Flutter officially declares on GitHub that hot updates are not supported for the time being, but in Flutter's source code, there is a portion of the embedded hot Update-Related code and, through some of our own means, the Android side is capable of dynamic updates. Exploration of Flutter Products Whether you create a ...

Posted on Fri, 15 Nov 2019 12:59:09 -0800 by marschen

10 tips on front end (May 18, 2019)

1. When the index of an array is assigned a negative number or a decimal number, does the length of the array change? let arr=[] arr[10]=11 console.log(arr.length); //11 arr[-1]=-1 console.log(arr.length) //11 arr[3.14]=3.14 console.log(arr.length) //11 //=================================== let arr1=[] arr1[2.1]=2.1 ...

Posted on Fri, 08 Nov 2019 09:36:34 -0800 by simonsays

How to realize hot restart with Go

Hot restart Hot restart (Zero Downtime) refers to the seamless switch between new and old processes, which can maintain the service to the client during the replacement process. principle Parent process listens for restart signal After receiving the restart signal, the parent process calls fork and passes the socket descriptor to the child pro ...

Posted on Wed, 23 Oct 2019 08:08:23 -0700 by Chief

What is the content-type request for text/event-stream?

Recently, when learning the hot update of webpack, we found that there is a _webpack_hmr request, content-type is text/event-stream, which we haven't seen before, so learn to record it. Web pack hot updates need to push information to browsers, and websocket is usually thought of, but there is another way, called Server-Sent Events (SSE). SSE i ...

Posted on Thu, 10 Oct 2019 03:24:39 -0700 by prashanth0626

What exactly did webpack do?

Links to the original text: https://segmentfault.com/a/1190000015973544 Nowadays, it seems that the times have abandoned the use of a web pack as a front-end. Every day, when developing, npm run dev should go online. Anyway, you can pack i ...

Posted on Thu, 22 Aug 2019 02:52:57 -0700 by oboedrew