Main

related tables

0

processing priority

3

site type

5 (wiki-type site, growing by topic rather than chronologically)

review version

11

html import

20 (imported (full content))

Events

first seen date

2024-02-15 16:27:32

expired found date

-

created at

2024-07-01 15:41:32

updated at

2026-03-02 14:46:18

Domain name statistics

length

15

crc

61867

tld

86 (io)

Connections

is subdomain of id

87719371 (github.io)

previous id

-

replaced with id

-

related id

-

related bits

–

dns primary id

-

dns alternative id

-

lifecycle status

0 (unclassified, or currently active)

Open Graph

title

爱折腾的前端

description

前端博客网站

image

site name

爱折腾的前端

author

痕迹_Mark

raw text

爱折腾的前端 爱折腾的前端 知识总结和回顾 首页 归档 搜索 0% Theme NexT works best with JavaScript enabled 面经 发表于 2022-01-03 更新于 2022-09-26 Class组件和函数组件的区别 Class组件 有组件实例 有生命周期 有state和setState 函数组件 没有组件实例 没有生命周期 没有state和setState,只能接收props 函数组件是一个纯函数,执行完立即销毁,无法存储state Class组件存在的问题 大型组件很难拆分和重构,变得难以测试 相同业务逻辑分散到各个方法中,可能会变得混乱 复用逻辑可能变得复杂,比如 HOC、Render Props 所以 react 中更提倡函数式编程,因为函数更灵活,更易拆分,但函数组件太简单,所以出现了hook,hook就是用来增强函数组件功能的。 useState为什么不能放到条件语句里面? react通过单链表来管理hooks。update阶段,hooks函数执行的顺序是不变的,就可以根据这个链表拿到当前hooks对应的Hook对象。如果将useState写在条件判断中,可能会导致顺序错乱,导致当前hooks拿到的不是自己对应的Hook对象。 实现一个Promise.all 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 function promiseAll ( promises ) { return new Promise ( ( resolved, rejected ) => { let resultCount = 0 ; let results = new Array (promises.length); for ( let i = 0 ; i < promises.length; i++){ promises[i].then( value => { resultCount++...

Mainpage statistics

mp import status

20

mp rejected date

-

mp saved date

-

mp size orig

165553

mp size raw text

36923

mp inner links count

8

mp inner links status

20 (imported)

Mainpage text analysis

redirect type

-

block type

0 (no issues)

detected language

1 (English)

category id

Other [en] (231)

index version

2026022801

spam phrases

0

Mainpage text statistics

text cyrillic

0

text characters

21927

text words

4188

text unique words

1437

text lines

2904

text sentences

21

text paragraphs

3

text words per sentence

199

RSS

rss path

rss status

1 (priority 1 already searched, no matches found)

rss found date

-

rss size orig

0

rss items

0

rss spam phrases

0

rss detected language

0 (awaiting analysis)

inbefore feed id

-

inbefore status

0 (new)

Sitemap

sitemap path

sitemap status

1 (priority 1 already searched, no matches found)

sitemap review version

2

sitemap urls count

0

sitemap urls adult

0

sitemap filtered products

0

sitemap filtered videos

0

sitemap found date

-

sitemap process date

2024-07-01 15:41:32

sitemap first import date

-

sitemap last import date

-