react-lifecycle-methods-diagram

Interactive React Lifecycle Methods diagram.

Github星跟踪图

React Lifecycle Methods diagram

An interactive version of React Lifecycle Methods diagram tweeted by Dan Abramov. Built in 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 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 as I only know so many languages. Adding new locale is pretty easy, but there's a separate i18n guide 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 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 start

Building the project

  • yarn build

License

The MIT License.

Author

Thank you

Sponsors

Thank you to all our sponsors! Become a sponsor and get your image on our README on GitHub.

Backers

Thank you to all our backers! Become a backer and get your image on our README on GitHub.

Top Contributors

Thank you to all our contributors that helped on this project!

Top Contributors

主要指标

概览
名称与所有者wojtekmaj/react-lifecycle-methods-diagram
主编程语言TypeScript
编程语言JavaScript (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2018-04-05 20:03:26
推送于2025-05-14 21:33:48
最后一次提交
发布数0
用户参与
星数3.9k
关注者数51
派生数323
提交数478
已启用问题?
问题数28
打开的问题数5
拉请求数84
打开的拉请求数3
关闭的拉请求数85
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?