Fluent asynchronous programming - event loop, Isolate, Stream

Event loop, Isolate Before we start, we need to understand that Dart is single threaded and that fluent depends on Dart If you know event loop in js The whole process of asynchronous dart is well understood Let's look at a piece of code first import 'dart:async'; Future eventLoop() async{ print('A'); Future((){ print('F'); scheduleMicrota ...

Posted by WinterDragon on Mon, 16 May 2022 23:21:38 +0300

Use [React17] [Vue3.0] to realize [waterfall layout]

Start with the previous rendering: What is waterfall flow? Waterfall flow is a common layout at the front end. The specific form is multi column layout, with fixed width and variable height. At the same time, as the page scrolls, new elements will be added to the lowest column at the end of the waterfall. There are three common waterfall flo ...

Posted by chefmars on Mon, 16 May 2022 22:57:08 +0300

How to write your own virtual DOM

To build your own virtual DOM, you need to know two things. You don't even need to go deep into the source code of "react" or into the source code of any other virtual DOM implementation, because they are so large and complex - but in fact, the main part of the virtual DOM only needs less than 50 lines of code. There are two concepts: ...

Posted by sandrine2411 on Mon, 16 May 2022 17:41:42 +0300

Big front-end study notes -- Composition API

Composition API 1. Use of Composition API 1. Using Vue3.0 First create an empty folder, then enter the folder to execute npm init -y, then execute npm install vue@3.0.0-rc.1 to install vue3.0 Create index.html, use of vue3.0 <body> <div id="app"> x: {{ position.x }} <br> y: {{ position.y }} <br> & ...

Posted by gukii on Mon, 16 May 2022 15:18:02 +0300

Summary of basic knowledge of react (continuous updat ing...)

This article is included in github github.com/Michael-lzg... Characteristics of React Use JSX syntax to create components, realize component-based development, and open the door for functional UI programming The high performance is praised: the efficient update of view is realized through diff algorithm and virtual DOM Why use React The use ...

Posted by RobbertvanOs on Mon, 16 May 2022 14:07:53 +0300

Issue 17 - what is MySQL database? It's enough to read this dry article!

preface Why study MySQL? Because MySQL is one of the most popular relational database management systems, MySQL is the best software in web applications. The sql language used by MySQL is the most commonly used standardized language for accessing databases. Rest assured, friends who read this issue are suitable for: website development, softwar ...

Posted by keigowei on Mon, 16 May 2022 11:38:44 +0300

On TypeScript type programming

I started this article Blog For reprint, please indicate the source: http://kohpoll.github.io/blog... When we write TypeScript, we mainly use type annotation (adding type constraints to variables and functions), which can enhance code readability and avoid low-level bug s. In fact, TypeScript's type system is designed to be so powerful that it ...

Posted by billthrill on Mon, 16 May 2022 07:30:17 +0300

⚡ Front end multi-threaded large file download practice, speed up 10 times, grasp Baidu cloud disk

background Yes, you're right. It's the front-end multithreading, not the Node. This exploration originated from the recent development. When encountering the development requirements related to video streaming, a special status code was found, his name is 206~ In order to prevent the dryness of this article, first put on the effect drawing. (t ...

Posted by bkanmani on Mon, 16 May 2022 04:30:21 +0300

Front end CSS

CSS css is essentially a style sheet It is mainly composed of selector and declaration, and the declaration part includes attribute and attribute value CSS comments: /*notes*/ /* multiline comment */   CSS introduction method: /*Internal style*/ <head> <meta charset="UTF-8"> <title>Title</title> <styl ...

Posted by Darrel on Mon, 16 May 2022 01:50:39 +0300

Spring MVC parameter binding details

summary I remember when I was debugging the interface with my front-end colleagues, the back-end spring MVC needed to receive the parameters of the array type, and then told the front-end that it needed to pass the array type. Later, the front-end children's shoes passed the array, but the back-end reception was unsuccessful and the joint debu ...

Posted by elum.chaitu on Sun, 15 May 2022 23:11:01 +0300