baozdemir / react-lifecycle-methods-diagram

Interactive React lifecycle methods diagram.

Home Page:http://projects.wojtekmaj.pl/react-lifecycle-methods-diagram/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 accessibile, 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 valueable 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.

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

Wojciech Maj
kontakt@wojtekmaj.pl
http://wojtekmaj.pl

About

Interactive React lifecycle methods diagram.

http://projects.wojtekmaj.pl/react-lifecycle-methods-diagram/

License:MIT License


Languages

Language:JavaScript 82.1%Language:CSS 15.6%Language:HTML 2.3%