JavaScript basic data type
JavaScript basic data type
There are two types of JavaScript data:Simple values (raw values): contains strings, numbers, and Boolean values, plus two special values -- null (null) and undefined (defined as).Complex data structures (generally referred to as objects): including narrow objects, arrays and functions.
Basic type
JavaScript define ...
Posted by timandkitty on Tue, 25 Jan 2022 03:25:10 +0100
shouldComponentUpdate, PureComponent and React memo
shouldComponentUpdate, PureComponent and React memo
preface
Recently, I have been learning about React and was lucky to get an opportunity to use it in practical projects. So I intend to record the problems I encounter in the process of learning and development (React) in the form of blog.
In the past two days, I have encountered the problem ...
Posted by murtuza.hasan.13 on Tue, 25 Jan 2022 03:06:08 +0100
js advanced without ES6
Introduction to object oriented programming
Process oriented is to analyze the steps needed to solve the problem, and then use functions to implement these steps step by step. When using, you can call them one by one
Object oriented is to decompose transactions into objects, and then divide and cooperate among objects.
Object oriented is to ...
Posted by daneilair on Mon, 24 Jan 2022 21:38:20 +0100
Event communication between VUE3 components - this series of tutorials is easy to understand and suitable for novices
1. General
Relevant laws tell us that there will be a certain connection between everything in the world. "The city gate catches fire and affects the fish in the pond" is a good example. Therefore, if we can find these invisible connections as soon as possible, we can solve more problems.
To get back to business, we talked about how ...
Posted by JD-AM on Mon, 24 Jan 2022 20:17:00 +0100
You certainly need to know about developing wechat applet
Write in frontBecause wechat applet claims to solve the compatibility problem of front-end programmers, it only needs to code according to the official set of rules of Tencent to meet different terminal needs. Therefore, in the second half of last year, I realized a project used internally by our company with wechat applet (700 + users at prese ...
Posted by MsShelle on Mon, 24 Jan 2022 17:18:39 +0100
Mock is both a shield and a weapon
Front end mock
Now the development modes are generally front-end and back-end separated, so it is necessary to "accommodate" each other. For example, the background only defines the interface document in general, the interface has not yet come out, the front-end can not wait foolishly, but there is no coordination to develop, many de ...
Posted by MisterWebz on Mon, 24 Jan 2022 14:56:48 +0100
[ten thousand words step by step] package vue project with webpack (basic production environment)
This project is a hands-on project. It uses the new novice guide page created by Vue cli. The project itself does not have particularly complex logic, and Vue learning is not involved here. It will only be completed through gradual decomposition, and the final packaging of the project will be completed by using webpack.
The plugins and loa ...
Posted by jake8 on Mon, 24 Jan 2022 13:23:05 +0100
Asynchronous message notification processing based on RabbitMQ
Business scenario
A simple business scenario, such as: there are multiple interrelated areas for asynchronous data acquisition and display on a web page. How to gracefully notify other areas to refresh data asynchronously when updating data in one area?
Figure 1 business scenario
When the operation status of list data changes, the above sta ...
Posted by illzz on Mon, 24 Jan 2022 09:17:02 +0100
"This is a page bookmark. When I come back, I remember to roll back to the original."
Page Bookmarks
Simply put, you scroll through the current page, and when you come back from a trip out, you restore the scrolling position, just like a bookmark in a book.
Then describe your expectations for page bookmarks
When I jump to another page, I come back to recover.Recovery cannot be positioned too obtrusively directly. It should be ...
Posted by warren on Mon, 24 Jan 2022 08:47:58 +0100
The twelfth learning week
The main content of this weekly diary is Vue js Including Vue JS and Vue JS template syntax
1, Vue JS start ① Each Vue application needs to be implemented by instantiating Vue.
The syntax format is as follows: var vm = new Vue({ //Options })
example
<html>
<head>
<meta charset="utf-8">
<title>Vue Test example - Roo ...
Posted by fantasticham on Mon, 24 Jan 2022 06:46:35 +0100