The reason why the react life cycle function is about to be abolished-mainly because of diff and fiber

Three functions were abandoned in the react life cycle, why

Because the core algorithm has changed. Changed from diff to fiber.

Leads to three improvements in efficiency

1. Virtual dom and real dom
2. Traditional diff and diff optimization
3. diff and fiber

Guess you like

Origin www.cnblogs.com/cn-oldboy/p/12714034.html