GitHub - donavon/hook-flow: A flowchart that explains the new lifecycle of a Hoo...
source link: https://github.com/donavon/hook-flow
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
hook-flow
React Hooks were introduced in version 16.8.0. They are a complete departure from class component lifecycle events. For more information, see the official React Hooks API Reference.
Here is a flow diagram that explains the new flow of a Hooks component.
Flow Diagram
This flow diagram is also available as a PDF file.
Open in browser
To quickly open the Hook Flow Diagram in your default browser, you can execute the following from your terminal. Commit this to memory! ?
$ npx hook-flow
License
MIT Licensed
Contributors
Thanks goes to these wonderful people (emoji key):
Donavon West
? ? ? ? ? ?
Revel Carlberg West
? ?
Dan Abramov
? ?
This project follows the all-contributors specification. Contributions of any kind welcome!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK