DVA.js
目录
hr重构
类dva
redux怎么变成dva的反向
// dva结构
export default {
state: {},
reducers: {},
effects: {}, //这一层是saga做的
}
// redux结构
import { createStore } from 'redux'
const state = { num: 1 };
const reducers = function (state …
// dva结构
export default {
state: {},
reducers: {},
effects: {}, //这一层是saga做的
}
// redux结构
import { createStore } from 'redux'
const state = { num: 1 };
const reducers = function (state …
Make是常见的构建工具,按照文件中写好的规则进行构建. Make命令放在一个Makefile的文件中,你也可以通过make -f rules.txt
指定其 …
Nacos是一个开源的、易于使用的、功能强大的动态服务发现、配置管理和服务管理平台。Nacos的设计目标是实现一个易于使用的、功 …
async function sendEmail(
email: string,
filename: string,
content: Buffer,
subject = "材料下载"
) {
const htmlTemplate = await generateHtmlForFileDownload();
const …
https://github.com/donnemartin/system-design-primer?tab=readme-ov-file#step-2-review-the-scalability-article
Website scaling helps handle growing traffic and user demands while maintaining peak performance.
Website scaling is the process of improving …
# list available clouds
az cloud list --output table
# China Azure
az cloud set --name AzureChinaCloud
# login service account
az login --service-principal --tenant xxx -u xxx -p xxx
# local …
https://knexjs.org/guide/
Knex can be used as an SQL query builder. The primary target environment for Knex is Node.js.
$ npm install knex --save
$ npm install mysql2 # pg …
User Portal - Persona Tool: An easy-to-access, comprehensive, and visualized tool to reflect compliance behavior and empower people and line managers to mitigate and improve compliance behavior efficiently …
A content management system (CMS) is a software tool that lets users add, publish, edit, or remove content from a website.
Drupal is a flexible CMS based on the …
Page 1 / 15 »