その日々は夢のように

那些时光就像是一场梦

vuePress-theme-reco levidc    2025
その日々は夢のように その日々は夢のように

Choose mode

  • dark
  • auto
  • light
Home
Category
  • 前端
  • 面试
  • 日常
  • 博客
  • 娱乐
  • 编程
  • 网络相关
  • js
  • 后端
  • 编程思想
  • 面试题
tag
  • javaScript
  • CSS
  • Vue2
  • Vue3
  • react
  • linux
  • Game
  • 日常
HELP
  • vuepress (opens new window)
  • can i use (opens new window)
  • MDN (opens new window)
  • PS (opens new window)
时间轴
mine
  • GitHub (opens new window)
  • 码云 (opens new window)
  • 哔哩哔哩 (opens new window)
author-avatar

levidc

60

Articles

44

Tags

Home
Category
  • 前端
  • 面试
  • 日常
  • 博客
  • 娱乐
  • 编程
  • 网络相关
  • js
  • 后端
  • 编程思想
  • 面试题
tag
  • javaScript
  • CSS
  • Vue2
  • Vue3
  • react
  • linux
  • Game
  • 日常
HELP
  • vuepress (opens new window)
  • can i use (opens new window)
  • MDN (opens new window)
  • PS (opens new window)
时间轴
mine
  • GitHub (opens new window)
  • 码云 (opens new window)
  • 哔哩哔哩 (opens new window)
  • React

    • react

react

vuePress-theme-reco levidc    2025

react

levidc 2023-02-15 reactjs

# react 基本


class Component extends React{
  construct(props){
    super(props)
  }
  this.state = {
    xxx:,
    x:
  }
}

this.$set({})


# jsx语法

同时渲染循环的结构和自定义的接口时
数组处理如:
{
  [
    <div>123</div>,
    array.map(item=>(
      <div>{item}</div>
    ))
  ]
}

# 条件渲染

# HOC(higher order compoennt)高阶组件

最后更新于: 2023年5月25日 14:33
  • react 基本
  • jsx语法
  • 条件渲染
  • HOC(higher order compoennt)高阶组件