<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[weixin_46146313的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weixin_46146313</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_46146313]]></copyright><item><title><![CDATA[reduce函数构建炫耀字体，字体动画。]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/125866980</link><guid>https://blog.csdn.net/weixin_46146313/article/details/125866980</guid><author>weixin_46146313</author><pubDate>Tue, 19 Jul 2022 10:50:54 +0800</pubDate><description><![CDATA[reduce函数构建炫耀字体，字体动画。]]></description><category></category></item><item><title><![CDATA[热门App 高仿项目12 个 GitHub 上的高仿项目]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/125725698</link><guid>https://blog.csdn.net/weixin_46146313/article/details/125725698</guid><author>weixin_46146313</author><pubDate>Mon, 11 Jul 2022 17:38:54 +0800</pubDate><description><![CDATA[热门App 高仿项目12 个 GitHub 上的高仿项目]]></description><category></category></item><item><title><![CDATA[react项目http-proxy-middleware跨域问题]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/119420560</link><guid>https://blog.csdn.net/weixin_46146313/article/details/119420560</guid><author>weixin_46146313</author><pubDate>Thu, 05 Aug 2021 16:55:44 +0800</pubDate><description><![CDATA[1.npm安装这两个依赖

npm install http-proxy-middleware,

    npm install axios

2.
]]></description><category></category></item><item><title><![CDATA[scss重置浏览器默认样式 normalize.css]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/119374831</link><guid>https://blog.csdn.net/weixin_46146313/article/details/119374831</guid><author>weixin_46146313</author><pubDate>Wed, 04 Aug 2021 08:54:21 +0800</pubDate><description><![CDATA[最近做了个react+antd 的人事管理项目，样式使用的scss，里面重置了浏览器样式的文件，欢迎大家下载使用，不会用的可以@我哟。
]]></description><category></category></item><item><title><![CDATA[最详细的window10虚拟机安装，手把手安装虚拟机，解决家庭版window找不到Hyper-V选项]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/118928374</link><guid>https://blog.csdn.net/weixin_46146313/article/details/118928374</guid><author>weixin_46146313</author><pubDate>Fri, 23 Jul 2021 17:46:40 +0800</pubDate><description><![CDATA[在window8之前，人们可能需要下载比较专业的软件，比如 VMware。之后系统已经自带这样的功能，但是仅限于专业版本可使用，也就是说大部分家庭版本无法使用window自带的虚拟机，今天我们就来解决一下这个问题。

1、在创建虚拟机之前，我们需要准备一个完整的系统镜像，比如 Windows10 镜像，在微软的官网即可下载，下载之后先放一边。

window官网下载地址https://www.microsoft.com/zh-cn/software-download/windows10



如果自身是..]]></description><category></category></item><item><title><![CDATA[chrome浏览器91版本SameSite by default cookies被移除后的解决方案，Chrome中跨域POST请求无法携带Cookie的解决方案]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/117707199</link><guid>https://blog.csdn.net/weixin_46146313/article/details/117707199</guid><author>weixin_46146313</author><pubDate>Tue, 08 Jun 2021 16:54:35 +0800</pubDate><description><![CDATA[背景

周一早上一打开电脑准备开发项目时候, 突然发现网站登录跳转有异常, 怎么都登录不上一直跳回登录页. 通过抓包排除了后端的原因后, 发现后端的set-cookie没有效果, 突然想起Chrome禁用第三方Cookies的计划, 打开Edge的更新记录发现已经自动更新到Chromium 91了.

因为开发环境需要, 我们把浏览器的same-site-by-default-cookies和cookies-without-same-site-must-be-secure两项都在flag里禁用了. 但是更新]]></description><category></category></item><item><title><![CDATA[谷歌浏览器无法打开localhost:3000,打开localhost就跳转测试地址问题]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/114285454</link><guid>https://blog.csdn.net/weixin_46146313/article/details/114285454</guid><author>weixin_46146313</author><pubDate>Tue, 02 Mar 2021 15:04:10 +0800</pubDate><description><![CDATA[1.打开一个新的空白页面
输入chrome://flags 跳转至本页面设置下图中的两项 ，设置好后重启浏览器即可。


]]></description><category></category></item><item><title><![CDATA[antd setFieldsValue警告问题 Cannot use `setFieldsValue` until you use `getFieldDecorator` or]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/112615754</link><guid>https://blog.csdn.net/weixin_46146313/article/details/112615754</guid><author>weixin_46146313</author><pubDate>Thu, 14 Jan 2021 16:25:40 +0800</pubDate><description><![CDATA[antd 使用form组件 setFieldsValue警告问题
原文警告：
Cannot use setFieldsValue until you use getFieldDecorator or getFieldProps to register it
大概意思就是：
在使用“getFieldDecorator”或“getFieldProps”注册之前，不能使用“setFieldsValue”
官网上的解释是这样的的
注意：使用 getFieldsValue getFieldValue setField]]></description><category></category></item><item><title><![CDATA[React children组件实例提示框]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107381053</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107381053</guid><author>weixin_46146313</author><pubDate>Thu, 16 Jul 2020 13:31:12 +0800</pubDate><description><![CDATA[// child传递标签，通常在通用型组件时传递 使用

import React, { Component } from 'react';
// 第一个类 (也可以跨文件传递文件)
class Childes extends Component {
  state={
    close : true
  }
  render() { 
    let {children} = this.props //接收
    let {close} =  this.state
    console.log(t.]]></description><category></category></item><item><title><![CDATA[React children组件]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107381035</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107381035</guid><author>weixin_46146313</author><pubDate>Thu, 16 Jul 2020 13:29:01 +0800</pubDate><description><![CDATA[children

组件标签对之间的内容会被当做一个特殊的属性 props.children 传入组件内容
可以自定义结构的组件的常用形式

children
传递函数
传递子组件




// child传递标签，通常在通用型组件时传递

import React, { Component } from 'react';
// 第一个类 (也可以跨文件传递文件)
class Childes extends Component {
  render() { 
    let {children} = thi]]></description><category></category></item><item><title><![CDATA[React PureComponent]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107380833</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107380833</guid><author>weixin_46146313</author><pubDate>Thu, 16 Jul 2020 13:11:55 +0800</pubDate><description><![CDATA[component和PureComponent 的区别
PureComponent 提供了一个具有浅比较的 shouldComponentUpdate 方法,其他和 Component 完全一直
PureComponent 在数据类型 前后一样的情况下，就不会去渲染更新，Component不管你一样不一样，都会重新渲染加载
使用component 在list 修改赋值的时候可以使用es6的语法
使用PureComponent时候 赋值的时候 list:[…list]
import React, { Pure]]></description><category></category></item><item><title><![CDATA[react dangerouslySetInnerHTML]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107380805</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107380805</guid><author>weixin_46146313</author><pubDate>Thu, 16 Jul 2020 13:08:25 +0800</pubDate><description><![CDATA[dangerouslySetInnerHTML 设置标签的innerHtml
注意：message不能接收页面的数据 太危险了，接收后端的数据使用
import React, { Component } from 'react';
let message = ` &lt;h1&gt;打败我们的不是天真，是天真热&lt;/h1&gt;
                &lt;p&gt;太热了&lt;/p&gt;
              `
class App extends Component {
  r]]></description><category></category></item><item><title><![CDATA[React key值绑定问题]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107380094</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107380094</guid><author>weixin_46146313</author><pubDate>Thu, 16 Jul 2020 13:05:52 +0800</pubDate><description><![CDATA[key值绑定问题
key这里要写数据里的id  id后端一定要给id 要是没又给去找他要
这里key值绑定的唯一id 这里的id 为固定值 这么写的性能会好些，点击三删除只有删除的元素会更新
如果绑定index 数组元素发生变化index也就发生变化 数组内的数据就会全部的从渲染

import React, { Component } from 'react';

 
class App extends Component {
  state = { //模拟数据
    data:[
      {
 ]]></description><category></category></item><item><title><![CDATA[react ref 的使用]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107062212</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107062212</guid><author>weixin_46146313</author><pubDate>Thu, 16 Jul 2020 12:50:49 +0800</pubDate><description><![CDATA[ref 的使用

]]></description><category></category></item><item><title><![CDATA[react 通过生命周期优化组件性能]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107073181</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107073181</guid><author>weixin_46146313</author><pubDate>Mon, 06 Jul 2020 21:46:00 +0800</pubDate><description><![CDATA[已经对React生命周期有了认识，那如何利用它提高组件的性能那？通过shouldComponentUpdate函数，改善React组件性能的例子。
小姐姐组件存在性能问题
是的，小姐姐组件已经写的很熟悉了，但是它有一个性能问题，那就是子组件XiaojiejieItem频繁无用渲染render。如何能看出这个问题的那？
首先你要确认你安装了React Developer Tools 如果你没有安装，可以到前边的课程学习一下安装。有了这个浏览器插件，就可以在控制台中找到components标签，然后在右边点开设]]></description><category></category></item><item><title><![CDATA[React PropTypes检验传递的值]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107056993</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107056993</guid><author>weixin_46146313</author><pubDate>Mon, 06 Jul 2020 21:45:12 +0800</pubDate><description><![CDATA[在工作当中，我们进行传参一定要对象传递的数据进行校验，如果不校验的话，大量的数据传递，会造成混乱，业务逻辑也没办法保证。
引入prop-types
 //prop-types  父传子 要在子组件引入并校验
import PropTypes from "prop-types"

PropTypes 提供一系列验证器，可用于确保组件接收到的数据类型是有效的。在本例中, 我们使用了 PropTypes.string。当传入的 prop 值类型不正确时，JavaScript 控制台将会显示警告。出于性能方面的考虑]]></description><category></category></item><item><title><![CDATA[react setState工作原理]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107082634</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107082634</guid><author>weixin_46146313</author><pubDate>Fri, 03 Jul 2020 16:04:11 +0800</pubDate><description><![CDATA[setState(updater, [callback])
1 updater: 通过函数或对象 更新数据 FUNCTION/OBJECT
2 callback: 更新成功后的回调 FUNCTION
    buttonOnClick=()=&gt;{
        this.setState({  
            list:[...this.state.list,this.state.inputValue],
            inputValue:""  //正加后input框的值为空]]></description><category></category></item><item><title><![CDATA[react 生命周期-2]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107072340</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107072340</guid><author>weixin_46146313</author><pubDate>Fri, 03 Jul 2020 16:02:43 +0800</pubDate><description><![CDATA[React生命周期中的Updation阶段,也就是组件发生改变的更新阶段，这是React生命周期中比较复杂的一部分，它有两个基本部分组成，一个是props属性改变，一个是state状态改变（这个在生命周期的图片中可以清楚的看到）。

shouldComponentUpdate函数会在组件更新之前，自动被执行，会在render 渲染之前执行
它要求返回一个布尔类型的结果，必须有返回值，false 下面的代码就不再执行
    shouldComponentUpdate(){
        // 会在rend]]></description><category></category></item><item><title><![CDATA[react 生命周期-1]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107062348</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107062348</guid><author>weixin_46146313</author><pubDate>Fri, 03 Jul 2020 15:27:25 +0800</pubDate><description><![CDATA[React生命周期图

通过这张图你可以看到React声明周期的四个大阶段：

Initialization:初始化阶段。
Mounting: 挂在阶段。
Updation: 更新阶段。
Unmounting: 销毁阶段

什么是生命周期函数
如果非要用一句话把生命周期函数说明白，我觉的可以用这句话来说明：
生命周期函数组件从创建到结束的过程（生-死）
举例：写的小姐姐的例子。里边的render()函数，就是一个生命周期函数，它在state发生改变时自动执行。这就是一个标准的自动执行函数。
construc]]></description><category></category></item><item><title><![CDATA[React 父子组件的传参]]></title><link>https://blog.csdn.net/weixin_46146313/article/details/107030602</link><guid>https://blog.csdn.net/weixin_46146313/article/details/107030602</guid><author>weixin_46146313</author><pubDate>Fri, 03 Jul 2020 11:36:32 +0800</pubDate><description><![CDATA[通过上节课的学习，已经把"小姐姐"组件做了一个基本的拆分，但是还不能实现随着输入，显示出输入的内容。这里涉及的是父组件向子组件传值。然后点击删除，就相当于子组件向父组件传值
父组件像子组件传值
这里只介绍最实用的，最快速的上手方法。就是使用组件属性的形式父组件给子组件传值。比如：我们在组件中加入content属性，然后给属性传递{item}，这样就完成了父组件向子组件传值。
&lt;XiaojiejieItem content={item} /&gt;

这时候可以通过this.props.xxx的形式进行]]></description><category></category></item></channel></rss>