redux tutorial - Basic Concepts

1, redux contains the following self-contained applications state: the real data source driving the applicationview: UI declarative description based on the current stateactions: events that occur in the application based on user input and trigger status updates 2, Unidirectional data flow state is used to describe the status of an applicatio ...

Added by Fritz on Mon, 03 Jan 2022 17:10:59 +0200

Scaffold development - preparation phase

Basic principle of scaffold Click to view the overview of scaffold series articles [updating] Personal website: www.dengzhanyong.com Pay attention to the official account. Front end Xiaoyuan ], don't miss every article Initialize project 1. Create project file mkdir steamed-cli cd steamed-cli 2. Use lerna to initialize the projec ...

Added by blink359 on Mon, 03 Jan 2022 14:52:26 +0200

underscore function throttling

underscore function throttling preface Before talking about underscore function throttling, we should clarify the concept of function throttling. Function throttling is simply 'increasing revenue and reducing expenditure'. What does it mean? Is to reduce the frequency of a function call. Generally speaking, frequent operations on the dom ...

Added by kenwvs on Mon, 03 Jan 2022 12:51:06 +0200

05 - preliminary routing test

Source address: GitHub / Code cloud Preliminary routing test 🎯 target Nested routes are implemented. When the route jumps, only the view pointed to by the sub route is re rendered.The implementation access / (root path) displays / home (background home page). 😴 lessons The application interface in real life is usually compos ...

Added by bschmitt78 on Mon, 03 Jan 2022 11:44:16 +0200

20 concise JS code snippets

preface Today we'll focus on 20 simple JavaScript code snippets 1. Single line if else statement This is a common feature of many programming languages. Instead of writing if else on multiple lines, you can use ternary operators to write the entire statement in one line of code. For example, here are some examples: const age = 12; let ...

Added by Courbois on Mon, 03 Jan 2022 11:35:56 +0200

Building foundation vue background project

Use vue 2 The simple vue background project built by version x and other technologies can realize the basic functions of the background. If you are still learning, you will inevitably make mistakes. If you have any problems, please give more advice. 1, Infrastructure configuration View vue cli version: vue --version Create a project: vue ...

Added by Aikon on Mon, 03 Jan 2022 11:05:28 +0200

jQuery common events

JQuery several common events 1. Event ready(fn) When the DOM (document object model) has been loaded and the page (including image) has been fully rendered, the ready event will occur. Generally speaking, this function event will be executed when the page is loaded. You can use $(document) in the same page infinitely Ready() event. The regist ...

Added by animedls on Mon, 03 Jan 2022 10:56:59 +0200

11 very useful HTML single line code

Read this article 🦀 You will learn 11 very useful single line codes, which can help us do a lot of things. Don't underestimate HTML!!! preface 🌵 HTML and CSS are the pillars of the front-end development world. While mastering CSS and JavaScript is essential to creating a great website, people often underestimate the work you can do wi ...

Added by ngubie on Mon, 03 Jan 2022 10:53:36 +0200

[suggested collection] native JavaScript handwriting array API

This article will first understand the usage of array APIs, and then simulate the implementation of these APIs. If you think there is anything wrong, please point out the following! 1. forEach method This method will run the passed in function for each item of the array element without returning a value. This is equivalent to using a for lo ...

Added by alluoshi on Mon, 03 Jan 2022 10:09:07 +0200

Regular expressions for Java SCR learning

regular Regular expression, also known as "regular expression" We write the "rule" ourselves, which is specially used to detect whether the string meets the requirements of the "rule" We use some special characters or symbols to define a "rule formula", and then use our defined "rule formula&quot ...

Added by lanrat on Mon, 03 Jan 2022 10:00:05 +0200