Generate cron expression from React Antd front end
I wonder if you have found the following situations when playing the game:
(1) When playing some games, I found that his leaderboard is not updated from time to time, but updated every half an hour or an hour.
(2) Another example is the popular king glory mobile game. Its daily tasks are updated at 5 o'clock every day.
So, who controls these ...
Posted by PhpxZ on Mon, 22 Nov 2021 16:14:13 -0800
[ES2021] new features in ES12 - logical assignment operator, number separator, Promise.any, String.prototype.replaceAl, WeakRefsl
There are five new features:
Logical assignment operator??? =&&= And||=Number separator_Promise.any & AggregateErrorString.prototype.replaceAllWeakrefs & finalizationregistry object
1. Logical assignment operator??? =&&= And||=
??= &&= And||=
a||=b; // a=a||b; Equivalent to: a = a? a : b
a&&=b; ...
Posted by DwarV on Mon, 22 Nov 2021 14:09:52 -0800
ES6 added API: Array
New static functionArray.ofFunction type://Receive any number and type of parameters, and return an array of these parameters in the order they are passed in
(...args?:any[])=>any[];Array.of is used to create a new Array instance with a variable number of parameters. The difference between it and creating arrays through the array constructor ...
Posted by fishdishdesign on Mon, 22 Nov 2021 11:12:25 -0800
MongoDB << connection to database and creation of data
1.mongodb official website
MongoDB: the application data platform | MongoDB
2. Go to the official website of MongoDB and download MongoDB, MongoDB compass and Mongodb--database--tools
3. The operation of the MongoDB database by nodejs needs to rely on the third-party package mongoose of nodejs
Terminal instruction: npm install mongoo ...
Posted by nobodyk on Mon, 22 Nov 2021 07:15:39 -0800
Go deep into webpack and learn devserver Babel loader asset
Development server
//Configure development server
devServer: {
static: {
//True meaning: configure the directory of additional static files, which is equivalent to the open static resource directory of express, which can be accessed from the browser http://localhost:8080/xx.jpg
//I came to find it in the static file. ...
Posted by sofasurfer on Mon, 22 Nov 2021 07:14:13 -0800
CSS mask to achieve the effect of mouse following hollowing out
I happened to see such a problem in a thought, How to make part of a div transparent and other parts blurred? Finally, the effect is as followsFurthermore, it can also realize the hollowing effect of any shapeThe place where the mouse passes is clearly visible, and other places are blurred.It may be impossible to start at the beginning. Don't w ...
Posted by jack bro on Sun, 21 Nov 2021 21:34:20 -0800
Create a simple tic tac toe game using HTML, CSS and JavaScript
🌊 Author home page: Hai Yong🌊 About the author: 🏆 CSDN high-quality creators in the whole stack field 🥇 HDZ core group members🌊 Fan benefits: Fan group Six books a week and various small gifts a monthCreating games with JavaScript is the most interesting way to learn. It keeps you motivated, which is crucial to learning complex skills s ...
Posted by wispas on Sun, 21 Nov 2021 19:53:10 -0800
AJ report project analysis
2021SC@SDUSC
catalogue
Login related
Use of vuex store
token related
What is a token
request Interceptor at login
response Interceptor at login
This article analyzes the js files related to login
Login related
First, analyze the src/utils/request.js file. The source code is as follows:
import axios from 'axios'
import { Message, Mes ...
Posted by ozzthegod on Sun, 21 Nov 2021 19:43:43 -0800
Quickly understand the Set and WeakSet of ES6
Before ECMAScript 6, arrays can be used to store values, and ECMAScript 6 adds two collection types: Set and WeakSet.SetSet set can use new to create an empty set:const s = new Set();You can also initialize an instance when creating a Set:const s = new Set(["Xiao Zhao", "Xiao Ming", "Kasumi "]);You can also customize the iterator when initializ ...
Posted by mukunthan on Sun, 21 Nov 2021 18:16:25 -0800
Detailed explanation of React project Packaging Optimization
Project packaging and Optimization - Project packaging
Objective: to be able to package projects through commands
Steps:
Open the terminal in the project root directory and enter the packaging command: npm run build Wait until the package is completed, and the packaged content is placed in the build folder under the project root
Project p ...
Posted by zman on Sun, 21 Nov 2021 17:06:28 -0800