百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

react-lifecycle-methods-diagram

> 前端框架
开源

互动 React 生命周期方法图。

3.9K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

互动 React 生命周期方法图。

# React Lifecycle Methods diagram An interactive version of [React Lifecycle Methods diagram tweeted by Dan Abramov](https://twitter.com/dan_abramov/status/981712092611989509). Built with React, obviously. I did my best to make the diagram fully accessible, both for keyboard navigation and screen readers for visually impaired people. [Online version](http://projects.wojtekmaj.pl/react-lifecycle-methods-diagram/) is also available! ## How to use the diagram - Click any method name to read its official documentation (opens in a new tab). - Methods in **bold** are the most common ones. - Actions that are not methods, but otherwise help reading the diagram, are in _italics_. ## Collaboration You are welcome to raise issues and create pull requests. Particularly valuable contributions are those regarding [i18n](https://en.wikipedia.org/wiki/i18n) as I only know so many languages. Adding new locale is pretty easy, but there's a [separate i18n guide](/src/i18n/README.md) in case you get lost. You can also add a new version of the diagram in case React lifecycle methods are changed. There is a [separate versions guide](/src/versions/README.md) in case you get lost. ### Prerequisites To contribute, you need to have the following prerequisites installed: - Node.js - Yarn - IDE of your choice ### Starting the project - `yarn install` (first time only) - `yarn dev` ### Building the project - `yarn build` ## License The MIT License. ## Author Wojciech Maj
[email protected]
https://wojtekmaj.pl ## Thank you ### Sponsors Thank you to all our sponsors! [Become a sponsor](https://opencollective.com/react-lifecycle-methods-diagram#sponsor) and get your image on our README on GitHub. ### Backers Thank you to all our backers! [Become a backer](https://opencollective.com/react-lifecycle-methods-diagram#backer) and get your image on our README on GitHub. ### Top Contributors Thank you to all our contributors that helped on this project!

GitHub Issues· 5 开放

在 GitHub 查看全部
  • #153

    Update the reference links of official and updated React Documentation.

    更新于 2023年4月5日
  • #39

    "New props" arrow label is misleading

    enhancement更新于 2022年1月5日
  • #57

    Show args passed to lifecycle methods

    enhancement更新于 2021年8月13日
  • #17

    Missing componentDidCatch

    enhancement更新于 2019年6月23日

核心特点

  • •Click any method name to read its official documentation (opens in a new tab).
  • •Methods in bold are the most common ones.
  • •Actions that are not methods, but otherwise help reading the diagram, are in _italics_.
  • •IDE of your choice
  • •yarn install (first time only)
  • •yarn dev
  • •yarn build

> 标签

TypeScriptcheatsheetdiagramreactreact-lifecycle

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架