<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[海风的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weixin_45895753</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_45895753]]></copyright><item><title><![CDATA[React 16源码解读：useMemo钩子]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/129737451</link><guid>https://blog.csdn.net/weixin_45895753/article/details/129737451</guid><author>weixin_45895753</author><pubDate>Thu, 23 Mar 2023 19:21:20 +0800</pubDate><description><![CDATA[useMemo钩子可以复用计算结果，而不用每次渲染函数组件时都执行计算。二 代码与useCallback类似，都是比较两次渲染时的依赖数组是否相同，来决定是否复用计算结果。// 函数组件虚拟节点// useCallback钩子实例// 本次渲染时的依赖数组inputs!== null?== null) {// 上次渲染时的依赖数组// 使用Object.is判断两个数组的每个成员是否相同// 复用计算结果// 挂载、更新（依赖发生变化），执行计算。]]></description><category></category></item><item><title><![CDATA[React 16源码解读：useCallback钩子]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/129737271</link><guid>https://blog.csdn.net/weixin_45895753/article/details/129737271</guid><author>weixin_45895753</author><pubDate>Thu, 23 Mar 2023 19:13:09 +0800</pubDate><description><![CDATA[比较两次渲染时传入useCallback的依赖数组是否相同，来决定是否复用函数。通过useCallback钩子，可以实现多次渲染函数组件时，复用函数。]]></description><category></category></item><item><title><![CDATA[Vue3源码解读：内置代理]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/129695140</link><guid>https://blog.csdn.net/weixin_45895753/article/details/129695140</guid><author>weixin_45895753</author><pubDate>Tue, 21 Mar 2023 19:19:11 +0800</pubDate><description><![CDATA[除了用户可以使用reactive、shallowReactive、readonly、shallowReadonly创建代理外，Vue3内部也创建了若干代理。]]></description><category></category></item><item><title><![CDATA[Vue3源码解读：创建代理]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/129596690</link><guid>https://blog.csdn.net/weixin_45895753/article/details/129596690</guid><author>weixin_45895753</author><pubDate>Thu, 16 Mar 2023 19:38:33 +0800</pubDate><description><![CDATA[代理、Proxy、reactive、shallowReactive、readonly、shallowReadonly、baseHandlers、collectionHandlers]]></description><category></category></item><item><title><![CDATA[Vue3源码解读：依赖映射]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/129566010</link><guid>https://blog.csdn.net/weixin_45895753/article/details/129566010</guid><author>weixin_45895753</author><pubDate>Wed, 15 Mar 2023 19:50:20 +0800</pubDate><description><![CDATA[targetMap、depsMap]]></description><category></category></item><item><title><![CDATA[Vue3源码解读：副作用收集依赖]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/129501988</link><guid>https://blog.csdn.net/weixin_45895753/article/details/129501988</guid><author>weixin_45895753</author><pubDate>Mon, 13 Mar 2023 18:53:28 +0800</pubDate><description><![CDATA[则App组件的渲染副作用的深度是1，a计算属性副作用的深度是2，b计算属性副作用的深度是3。例如，MyApp组件的模板访问了a计算属性，a计算属性访问了b计算属性。]]></description><category></category></item><item><title><![CDATA[React 16源码解读：useState钩子实例的队列]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/129428677</link><guid>https://blog.csdn.net/weixin_45895753/article/details/129428677</guid><author>weixin_45895753</author><pubDate>Thu, 09 Mar 2023 19:40:28 +0800</pubDate><description><![CDATA[dispatchAction方法：向队列中添加更新记录ReactFiberHooks.js文件 useReducer方法：处理队列，并删除更新记录。]]></description><category></category></item><item><title><![CDATA[React 16 源码解读：新、老上下文对照]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/129421549</link><guid>https://blog.csdn.net/weixin_45895753/article/details/129421549</guid><author>weixin_45895753</author><pubDate>Thu, 09 Mar 2023 14:15:43 +0800</pubDate><description><![CDATA[prepareToReadContext方法、getUnmaskedContext方法、getMaskedContext方法。readContext方法。]]></description><category></category></item><item><title><![CDATA[npm安装错误大全]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/126154603</link><guid>https://blog.csdn.net/weixin_45895753/article/details/126154603</guid><author>weixin_45895753</author><pubDate>Thu, 04 Aug 2022 10:56:22 +0800</pubDate><description><![CDATA[npm ERR! fatal: unable to connect to github.com
OpenSSL SSL_read: Connection was reset, errno 10054
unable to access 'https://github.com/nhn/raphael.git/': Failed to connect to github.com port 443: Timed out]]></description><category></category></item><item><title><![CDATA[Mac安装多个版本Node.js]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/126101874</link><guid>https://blog.csdn.net/weixin_45895753/article/details/126101874</guid><author>weixin_45895753</author><pubDate>Mon, 01 Aug 2022 15:26:29 +0800</pubDate><description><![CDATA[开发旧项目时，使用低版本Node.js。开发新项目时，需使用高版本Node.js。可使用n同时安装多个版本Node.js，并切换到指定版本Node.js。]]></description><category></category></item><item><title><![CDATA[Vue3函数式组件]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/126060337</link><guid>https://blog.csdn.net/weixin_45895753/article/details/126060337</guid><author>weixin_45895753</author><pubDate>Fri, 29 Jul 2022 17:23:05 +0800</pubDate><description><![CDATA[现在，在Vue3中，所有的函数式组件都是用普通函数创建的。换句话说，不需要定义组件选项。props和context。context参数是一个对象，包含组件的attrs、slots和emitproperty。此外，h现在是全局导入的，而不是在render函数中隐式提供。在3.x中，有状态组件和函数式组件之间的性能差异已经大大减少，并且在大多数用例中是微不足道的。...]]></description><category></category></item><item><title><![CDATA[Vue3 Template Explorer]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/126039743</link><guid>https://blog.csdn.net/weixin_45895753/article/details/126039743</guid><author>weixin_45895753</author><pubDate>Thu, 28 Jul 2022 17:28:26 +0800</pubDate><description><![CDATA[通过Vue3TemplateExplorer网站，可以很方便地查看Vue3模版编译成的render渲染函数。]]></description><category></category></item><item><title><![CDATA[Docker搭建Jenkins]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/124971763</link><guid>https://blog.csdn.net/weixin_45895753/article/details/124971763</guid><author>weixin_45895753</author><pubDate>Wed, 25 May 2022 19:09:43 +0800</pubDate><description><![CDATA[一 安装镜像




docker pull jenkins/jenkins:latest-jdk8



二 创建容器




sudo docker run -itd -p 8080:8080 -p 50000:50000 --name jenkins --privileged=true -v /home/Jenkins:/var/jenkins_home jenkins/jenkins:latest-jdk8




三 配置Jenkins



1 在浏览器中访问管理页面，并等待Jenkins就绪
]]></description><category></category></item><item><title><![CDATA[ElementUI 2.x 自定义指令：鼠标滚轮]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/124932056</link><guid>https://blog.csdn.net/weixin_45895753/article/details/124932056</guid><author>weixin_45895753</author><pubDate>Mon, 23 May 2022 18:12:02 +0800</pubDate><description><![CDATA[src/directives/mousewheel.js文件声明了鼠标滚轮自定义指令。

在模版中通过v-mousewheel=“handleMousewheel”，可以绑定发生鼠标滚轮事件时的回调函数。



一 代码




// 依赖第三方库
import normalizeWheel from 'normalize-wheel';

// 是否是Firefox浏览器
const isFirefox = typeof navigator !== 'undefined' &amp;&amp; navig]]></description><category></category></item><item><title><![CDATA[Web Component自定义元素]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/124672348</link><guid>https://blog.csdn.net/weixin_45895753/article/details/124672348</guid><author>weixin_45895753</author><pubDate>Mon, 09 May 2022 18:45:00 +0800</pubDate><description><![CDATA[一 概述



自定义元素的名称必须包含中划线；必须有起始标签、结束标签，不能写成闭合标签。



二 项目结构



在HBuilder中创建普通项目。





三 代码



1 index.html


&lt;!DOCTYPE html&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;meta charset="utf-8" /&gt;
		&lt;title&gt;Web Component自定义元素&lt;/title&gt;
	&lt;/head&gt;
	&lt;]]></description><category></category></item><item><title><![CDATA[Git常用操作]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/124453928</link><guid>https://blog.csdn.net/weixin_45895753/article/details/124453928</guid><author>weixin_45895753</author><pubDate>Wed, 27 Apr 2022 16:19:30 +0800</pubDate><description><![CDATA[1 查看分支


# 查看本地分支
git branch

# 查看远程分支
git branch -a


]]></description><category></category></item><item><title><![CDATA[Spring Boot 2 + Spring Security 5 实现权限认证：基于内存的身份认证]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/115679260</link><guid>https://blog.csdn.net/weixin_45895753/article/details/115679260</guid><author>weixin_45895753</author><pubDate>Tue, 13 Apr 2021 21:25:24 +0800</pubDate><description><![CDATA[一 配置类

在src/main/java目录中，创建SimpleWebSecurityConfig配置类


package com.pet.demo.config.web;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotatio.]]></description><category></category></item><item><title><![CDATA[SpringBoot2 + Spring Security 5 实现简单权限认证]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/115678082</link><guid>https://blog.csdn.net/weixin_45895753/article/details/115678082</guid><author>weixin_45895753</author><pubDate>Tue, 13 Apr 2021 21:00:20 +0800</pubDate><description><![CDATA[一 创建配置类

在src/main/java目录中，创建SimpleWebSecurityConfig配置类


package com.pet.demo.config.web;

import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springfram.]]></description><category></category></item><item><title><![CDATA[在Intellij IDEA中实现Spring Boot热部署]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/115632296</link><guid>https://blog.csdn.net/weixin_45895753/article/details/115632296</guid><author>weixin_45895753</author><pubDate>Mon, 12 Apr 2021 18:08:01 +0800</pubDate><description><![CDATA[一 设置Intellij IDEA（Windows系统）

1 File -&gt; Settings... -&gt; Build,Execution,Deployment -&gt; Compiler，勾选Build project automatically。



2 Ctrl+Shift+Alt+/ 组合键打开Maintenance窗口，选择1. Registry...，勾选compiler.automake.allow.when.app.running选项。







二 添加依赖

在..]]></description><category></category></item><item><title><![CDATA[SpringBoot项目部署jar包]]></title><link>https://blog.csdn.net/weixin_45895753/article/details/115631593</link><guid>https://blog.csdn.net/weixin_45895753/article/details/115631593</guid><author>weixin_45895753</author><pubDate>Mon, 12 Apr 2021 17:37:33 +0800</pubDate><description><![CDATA[一 打包



二 展开项目根目录中的target文件夹，找到生成的jar包，并复制到部署文件夹中。



三 在命令行窗口中，进入部署文件夹，并执行jar包。


java -jar ./demo-0.0.1-SNAPSHOT.jar




]]></description><category></category></item></channel></rss>