React technical principles and code development practice: from React Bootstrap to Semantic UI

1. Background Introduction React is one of the hottest front-end JavaScript frameworks currently. Its main advantages are simplicity, flexibility and performance. This article will combine my own research experience and work summary to share how to better understand and master some features and technical details of React. React has become a mainstream front-end UI framework, […]

React technical principles and code development practice: from components to life cycle

1. Background Introduction React is a JavaScript library for building user interfaces. It originated from Facebook, which implemented a front-end view layer framework in JavaScript and open sourced the project. Facebook is now at the helm full-time. React has many features, such as: Declarative programming: React adopts a declarative programming method, that is, using JSX […]

React technical principles and code development practice: from PWA to Web Components

1. Background Introduction React is a JavaScript library for building user interfaces. It was originally open sourced by Facebook in 2013. Its powerful functions, excellent performance, simplicity and ease of use make it one of the most popular front-end frameworks currently. In recent years, the React community has also undergone some changes, including the rise […]

Starting from single testing, improve the underlying API effect function in the Vue3 source code

Based on the effect method implemented in the previous article, based on the single test in the Vue3 source code, three functions of this method are improved, namely: runner: effect can return a self-executing parameter runner function scheduler: effect supports adding the scheduler function in the second parameter option stop: effect Adds stop function runner […]

C# Socket TCP 2 heartbeat protocol + anti-stain packet + proactively disconnect from the server

In the previous code, a C# .net TcpClient implemented the full-duplex communication protocol_tcpclient protocol_Green Lemon 676’s Blog-CSDN Blog We have implemented the heartbeat of TCP and introduced the full-duplex communication protocol. Today we will take you to understand what TCP packet immersion is and how TCP prevents packet immersion. So let’s make a long story […]

AJAX dynamically obtains values from the database through manual splicing and dynamically splices the spliced JSON to the front-end page——AJAX

<!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <title>Title</title> </head> <body> <script type=”text/javascript”> window.onload = function () { document.getElementById(“show”).onclick = function () { var ajax = new XMLHttpRequest(); ajax.onreadystatechange = function () { if(ajax.readyState === 4) { if(ajax.status === 200) { var fromJava = ajax.responseText; var json = JSON.parse(fromJava); console.log(json); var html = “”; for (var […]

Learn CompletableFuture: Keep your code from blocking!

This is a community that may be useful to you One-to-one communication/interview brochure/resume optimization/job search questions, welcome to join the “Yudao Rapid Development Platform” Knowledge Planet. The following is some information provided by Planet: “Project Practice (Video)”: Learn from books, “practice” from past events “Internet High Frequency Interview Questions”: Studying with your resume, spring blossoms […]

Refactor Android asynchronous code using promises

Author: Wushan Old Demon Background Writing Android asynchronous tasks in business has always been a challenge. The previous callback and thread management methods were complex and cumbersome, making the code difficult to maintain and read. JavaScript actually faces the same problem in the front-end field, and Promise is one of its more mainstream solutions. Before […]